Commit Graph

63 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
wangyu 594f4eff8a Switch legacy Zuul jobs to native Zuul v3 jobs
Replace the 'karbor-dsvm-fullstack' legacy Zuul job with
the 'karbor-fullstack' native Zuul v3 job.

See
https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html
for more details.

Change-Id: I558c8e02011e98950354266254511bd113d5c5ec
2020-09-15 10:09:41 +00:00
jiaopengju 6093b5b11e Modify the time interval configurations in devstack
Story: 2006848
Task: 37436

Change-Id: I9ae08550f74347fc8f8436eca3cf4320ec97dd1f
2019-11-14 10:49:52 +08:00
caoyuan 6f6ef74cc9 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I4adc47322f3dff4c12c884c0f5464d92a041439e
2019-05-20 03:15:24 +00:00
Ian Wienand 1976d06cee Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Icce15740eeb33397772049975adaa8a7119cbf84
2019-03-24 20:33:56 +00:00
chenying 5f69bb846c Add default policy in code for the operation log resource
Leverage oslo.policy to register default policies in the
code. Administrator only need to update the specified
policy in the config file.

Partial-Implements: blueprint policy-and-docs-in-code
Change-Id: Ie52d55eb0554b4e202143864c3bf1737797fb887
2017-10-10 17:55:25 +08:00
Yuval Brik 0bcfd360d6 devstack: add trustee conf regardless of keystone
In a multi node environment, nodes running any karbor services (api,
protection, operationengine) may not have keystone installed on them,
but are configured to speak with keystone configured on another node.
Set the trustee regardless of whether keystone is set on this node or
not.

Change-Id: Iad64680f39c12e02bad88da62693bbdba3e89cd5
2017-10-01 14:50:07 +03:00
Yuval Brik 9675e96267 devstack: run configure with any karbor service
In devstack plugin, the configuration process runs only when the
karbor-api service is enabled. In some scenarios, we can have some nodes
with karbor-api and some with karbor-protection and/or
karbor-operationengine.
Run the configuration process in any of these cases.

Change-Id: I3473f806a13164d3ad15823beec2e962dcd1e65c
2017-09-17 17:46:59 +03:00
chenying 7d0cd8edf5 Enable nova n-api-meta service in devstack of Karbor
This patch enables the nova n-api-meta service in devstack
environment of Karbor. The n-api-meta service is needed when
the kubernetes service is running on the nova instance.

Change-Id: I08dfb288830101379ab053c6b1db3a9963b2f835
2017-08-20 17:14:29 +08:00
zengchen 9947cb40e2 Remove all codes about Heat
Change-Id: Ibf773e8e63f56a1f9eb1aa0ff38e718e4e750355
Implements: blueprint remove-heat
2017-08-04 09:53:11 +08:00
Yuval Brik 04a43d449c Install some providers on devstack only
Change-Id: I9dc402f2b83e3f77bae13b8dad53876467585c0b
2017-07-28 20:56:58 +03:00
chenying 1fcab5910b Delete the Neutron config introduced with manila service
Now the default backend of manila service is LVM, so the
neutron config introduced by manila service is not needed now.

Change-Id: I1fb58d1479a62b307efcebc8294578e280ed1154
2017-07-12 10:46:28 +08:00
Jeremy Liu dba51806f2 Generate the karbor.conf.sample with oslo-config-generator
It's hard to maintain karbor.conf by hand, let's switch to use
oslo-config-generator and follow OpenStack convention.

Change-Id: I0dd0a63267e14321ff723d32bd6d90db07cc5f95
2017-07-03 18:12:13 +08:00
chenying 4ce873ac6d Fix setting the key of default manila share-type failed
Change-Id: I5ad65822e48288106391601c029e515aa95f9310
Closes-Bug: 1699385
2017-06-21 11:38:42 +08:00
Yuval Brik a50b4fefb1 Remove Horizon from gate's devstack
Horizon was removed from devstack gate by default [0].
Remove horizon from Karbor fullstack devstack local.conf

  [0] https://review.openstack.org/#/c/474283/

Change-Id: Ifadd5d944bbb97e4304e8ac9044cc66327fbedf4
2017-06-19 09:07:22 +03:00
Yuval Brik d5718bd47f Use uwsgi for devstack
Two patches added wsgi support:
https://review.openstack.org/455734/
https://review.openstack.org/453705/
According to:
https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html
However, this patch:
https://review.openstack.org/460951/
changed the goal to use uwsgi by default.

Change-Id: Id02deddc52d81b9cd240364a22422a31fc02c9c3
2017-05-25 12:00:43 +03:00
chenying e24ba1c3a0 Fix fullstack error about a share protectable test
Change the general driver of manila to lvm driver in devstack to fix
this error.

Change-Id: Ia4c1f41684bda2767036793a6764cfbcde2b9dcd
2017-05-18 17:26:52 +08:00
Yuval Brik 935e6fab5f Set git info for python-karborclient
Change-Id: Icc8d7d94922148160f0069c8c48560351a60a31d
2017-05-09 15:51:26 +03:00
Jenkins a6ded9bbc7 Merge "Add fullstack test for share protectable plugin" 2017-05-08 07:58:37 +00:00
Jenkins 37a2cb11c9 Merge "Remove nova-cert from devstack" 2017-05-07 09:34:45 +00:00
Yuval Brik 458da74d0f Remove nova-cert from devstack
nova-cert is removed in pike:
See: I2c78a0c6599b92040146cf9f0042cff8fd2509c3

Change-Id: I365a04a365b13f9c7858c487069a6fe3c9a9a350
2017-05-03 16:16:16 +03:00
Jenkins 3c006f887a Merge "devstack: clone karborclient if marked to" 2017-05-03 07:16:02 +00:00
chenying 3a8bd61d75 Add fullstack test for share protectable plugin
Change-Id: I709f42a97b64c7d83222ebdbd1e398cff78530d4
blueprint: manila-share-proection-plugin
2017-05-02 23:19:33 +08:00
chenying 629d3d37b5 Fix fullstack gate error about 'Too many connections'
Change-Id: Icc3d21187fab1ac9d33e5158d97c694e7c6f9e3b
2017-05-02 15:30:27 +08:00
Yuval Brik cbe75357e0 devstack: clone karborclient if marked to
If karborclient is marked to be installed as the latest from git, do so
and clone it.

Change-Id: Ic03af8b48f2bf65da2ab8058a7ee145e1e41a5cb
2017-04-30 11:49:09 +03:00
Jenkins 05056aeb2f Merge "Add karbor-api WSGI support in devstack" 2017-04-20 16:13:09 +00:00
Jenkins dcf8b79c7d Merge "Add default password modification in devstack" 2017-04-20 11:08:42 +00:00
chenying 6e0d33219b Add karbor-api WSGI support in devstack
Update devstack related script in karbor to support deploying
karbor-api in Apache2.

Change-Id: Iaee79f4189dcc596765eb416df4bad4431158849
Closes-Bug: #1681500
2017-04-12 10:53:35 +08:00
jiaopengju b7cd4c6d1e Add default password modification in devstack
Password in providers' configuration files will never be
modified when doing installation with devstack.This will
make the default swift provider not work properly when
we change the default password in local.conf.

Change-Id: Ic5636e9f87aac2cc177941cd27178a8d200ca8fa
Closes-Bug: #1651110
2017-03-29 09:01:16 +08:00
Jenkins 0d7f89363f Merge "different conf in CI and system install with devstack" 2017-03-28 06:51:46 +00:00
zhangshuai 29b61b5971 different conf in CI and system install with devstack
max_window_time, min_window_time and min_interval has been set in
project-config[1], so rm these line. it means that ystem installed
by devstack can use default conf.

[1] https://review.openstack.org/#/c/446268/

Change-Id: I805ecbc2607dab9e9bcc9a718893aa40bef3a5e4
2017-03-23 14:18:38 +08:00
zhangshuai f538af85bc Update fullstack efficiency
Parallel exec fullstack test case

Change-Id: I3d91cf01f5867db7f61b2b11496e81dfaa8aae8f
Related-On: Ibf1d00647158828a0fed55ba8c1623f0673de6b0
2017-03-23 03:32:55 +08:00
zhangshuai b1e564a1e5 Update fullstack efficiency
Now, the efficiency of fullstack is low, I will fix it with a series
of patch.
  [1]: Shorten test_scheduled_operations time
  [2]: Instead of sequential execution with parallel execution of
       Test case
  [3]: And so on.

Change-Id: Ibf1d00647158828a0fed55ba8c1623f0673de6b0
2017-02-10 08:35:19 +08:00
Yuval Brik 0fae025798 devstack: add placement-api
Change-Id: I75e7eebe2f930cf186753403295641ff50472ddf
2017-02-08 10:06:32 +00:00
Jenkins 04e65a63f2 Merge "Replace 'tenant_id' to 'project_id' for Karbor's endpoints" 2017-01-24 11:52:18 +00:00
wujiajun dab5758774 Heat url error in local.conf.sample
Modified the heat url in local.conf.sample

Change-Id: Ie76b64d2041fc6e608b609fe055c42aa69274709
2017-01-16 08:20:36 +08:00
Yuval Brik 084f5c4823 Enable heat plugin in devstack sample and docs
Heat was removed from devstack, and is now used as a plugin [1].
Enable heat plugin in the provided sample local.conf and docs.

[1] https://review.openstack.org/#/c/317618/

Change-Id: I0aaeb0cf340b9c2b1cb33f8423dfd3ca5d208d48
2016-12-29 10:26:03 +02:00
zhangshuai b69c6f53d3 fix scheduledoperation fullstack
Add create scheduledoperation fullstack and scheduled use case.

Change-Id: Idfa179df1c8de893f06a8d7810facea60c19a004
2016-12-23 08:23:27 +08:00
zengchen d87cfffbb3 Replace 'tenant_id' to 'project_id' for Karbor's endpoints
At present, the endpoints of Karbor are using 'tenant_id', but not 'project_id'.
The endpoints are like these now.

http://10.229.45.150:8799/v1/$(tenant_id)s
http://10.229.45.150:8799/v1/$(tenant_id)s
http://10.229.45.150:8799/v1/$(tenant_id)s

Change-Id: Ib5602df00b652d0fe56ca74551021984f4a14e1d
Closes-Bug: #1650437
2016-12-21 09:47:09 +08:00
Yuval Brik c7f966933b Add Heat plugin to devstackgaterc
Heat was removed from devstack, and is now used as a plugin [1].
Enable heat plugin in karbor

[1] https://review.openstack.org/#/c/317618/

Change-Id: Id8e32187fc5efcd521869e45e2c2f0c9b23833a8
2016-12-15 14:40:38 +02:00
zhangshuai f217f6f0c6 Fix devstack plugin
As the sake of devstack project changing, karbor service will not be added
to keystone sercies successfully, fullstack will be failed.

Change-Id: I0825ea29abbc807b9a7b7fb2a263afd87a70551c
2016-11-24 14:19:17 +08:00
chenying 56e611c957 Fix the authorization of swift when karbor is installed using devstack
The service's default password in local devstack and gate devstack
should be same.

Change-Id: If9b5c24a91d33e489c02177ea60f5adbb2321320
Closes-Bug: #1635140
2016-11-01 10:14:11 +08:00
zengchen 51ab22f2cd Encapsulate smaug client in Operation Engine
According to the design, all the operations which will access
'protection service' module should invoke the API of Smaug instead.
Take the protect operation for example, it will POST the requst
of '/v1/providers/{provider_id}/checkpoints' to execute the
protect operation. Therefore, I encapsulate the client of Smaug
to send the all kinds of requsts conveniently.

Change-Id: Ifc06e49df764d6b17b08f2e9d3f2cb9c64e205c0
Closes-Bug: #1575569
2016-10-17 11:24:34 +08:00
xiangxinyong e846299064 Fix DevStack Setup Exception
When we use local.conf.example content
as the local.conf of DevStack to setup OpenStack,
We will receive the exception information:

./stack.sh:1242:start_nova_api
/home/edison/devstack/lib/nova:802:die
[ERROR] /home/edison/devstack/lib/nova:802 nova-api did not start

We could remove API_WORKES from local.conf to solve this problem.

Change-Id: I5f1c24a2216eec112d5c1c7a5f55031c656f912a
2016-09-28 17:02:52 +08:00
Yuval Brik e6b5bc0d87 Update configuration, requirements to karbor
Repository has been renamed openstack/karbor
* Fix test path
* Fix devstack sample config
* Update requirements with python-karborclient
Change-Id: If3e46fb8c500d2b4a4547541689ab6ede988a482
2016-09-06 22:29:06 +03:00
Yuval Brik 5b311eea8b Fix Fullstack's devstack
Fix leftovers of fullstack's devstack

Change-Id: If0499ec5e103263048d10b9ece4884dd0e2e9b38
2016-08-29 12:02:38 +03:00
xiangxinyong 73cd969579 Rename Smaug DevStack to Karbor
Smaug has been renamed to Karbor.
Adjust DevStack accordingly.

Change-Id: I521cfa3cf71391c346952c9206a09616256616e3
2016-08-23 15:23:00 +03:00
zengchen 840795accf Implement keystone client plugin
Contruct a keystone client plugin with smaug user
to offer the following functions:
1. get the endpoint of service, such as nova, cinder

Change-Id: Ide4a02623697202ff65be4ad1f573c14e694f525
Closes-Bug: #1596765
2016-07-13 10:53:03 +08:00
Yuval Brik 87fd2050e7 Update devstackgaterc
Change-Id: I8e8e5a54f1d2bbe0ab8cb8c6f903f52085abd19b
2016-06-27 10:37:40 +03:00
Yuval Brik 23771cb28d devstackgaterc for controlling fullstack config
Add devstackgaterc - instead of updating project-config for each
configuration change we want in devstack, we could update the
devstackgaterc file

Change-Id: I287b9339a2b5656c25bc91b8bcd43a2d242f5a23
2016-06-13 14:26:54 +03:00