200906ff29442bce98587c589bc889edcf97b52d
68 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Jenkins
|
200906ff29 | Merge "Deploy radosgw as glance backend" | ||
|
Jenkins
|
f99df5b61d | Merge "Add Debian support os support, for Jessie and sid" | ||
|
Anton Arefiev
|
a8a1cf3d0c |
Deploy radosgw as glance backend
This patch introduce new option GLANCE_RGW_BACKEND, if it set to true and radosgw enabled, glance is configured with swift backend options. Also create glance-swift user with ResellerAdmin role to interact with radosgw. CEPH_RGW_KEYSTONE_API_VERSION option was added to specify which keystone API versioni radosgw will use, default v2.0. Change-Id: I2cacf511e48720896aa621201d6188bd1d370b6e |
||
|
Kevin Zhao
|
ef12fffc97 |
Support multiple arch, replace hard-code of x86_64
Since Ceph supports more architectures such as Aarch64. Change-Id: I3cb05c4a3eb929e9648ecc05c4f0ba042f9e86ad Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> |
||
|
Kevin Zhao
|
37df605e0b |
Add Debian support os support, for Jessie and sid
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Change-Id: Ifc75a97fa7795647494ab92e94b4dec49064eb87 |
||
|
Jenkins
|
c7bd83b00a | Merge "change repo url" | ||
|
Jenkins
|
621c1474ff | Merge "purge repo file when unstacking" | ||
|
Jenkins
|
c7251d938b | Merge "Fix radosgw keystone authentication" | ||
|
Jenkins
|
956318d719 | Merge "Add rhel7 os support" | ||
|
Sébastien Han
|
eb7bfffd85 |
purge repo file when unstacking
we remove the download.ceph.com repo during cleanup. Change-Id: Ia2a62a6307b61623b72dbd7ee391d11cbd27f660 Signed-off-by: Sébastien Han <seb@redhat.com> |
||
|
Sébastien Han
|
c695e5bcc7 |
change repo url
http://ceph.com/debian-hammer redirects to http://download.ceph.com/debian-hammer/ However while setting: CEPH_RELEASE=jewel http://ceph.com/debian-jewel does not redirect to http://download.ceph.com/debian-jewel and stack fails. So fixing the repo url by directly using http://download.ceph.com Change-Id: Ib8e80e43674c6d8ffd01bc6af56e66e9e254213b Signed-off-by: Sébastien Han <seb@redhat.com> |
||
|
Patrick East
|
a7c81797a0 |
Don't always override CINDER_* env variables
We just want to set new defaults, not force the variables. This way we can mix ceph and other backends with like: CINDER_ENABLED_BACKENDS=lvm:lvm-driver,ceph:ceph-driver Change-Id: I99cc047bce2f584c2b54196a9c84267d2c686231 |
||
|
Clark Boylan
|
fec528cdb0 |
Use opt in package repo mirror in gate
OpenStack CI would prefer to not have the ceph repo package mirror enabled by default for all jobs. Instead the mirror config will be provided in a directory that apt won't read and can by copied/linked into the dir that apt will read. This gives testing greater flexibility and prevents growing dependencies on non standard repos in jobs that don't intend on growing those dependencies. Change-Id: Icd87013fa74601268c19a8b79abf6b7baeaca9db Depends-On: I410f45064080e1bb93684899028e9af34bd555a1 |
||
|
Einst Crazy
|
0ca362bbae |
Add rhel7 os support
Change-Id: Ia1adcad17c447c5ee03b9e79a9df341f877ce189 |
||
|
Jenkins
|
ccd9d3d792 | Merge "Fix the failure to create swift endpoints" | ||
|
Tom Barron
|
19051aa4cd |
Support systemd and ceph versions >= 9.2
Currently the devstack ceph plugin uses installation, configuration, startup, and shutdown commands that do not always work correctly for Ceph releases after hammer or with systemd init system. Check the ceph version and the init system and use appropriate commands. Co-Authored-By: Ramana Raja <rraja@redhat.com> Change-Id: I25d8816740c6008b076986f3677c299ad9843c30 |
||
|
Anton Arefiev
|
7e974aeb34 |
Fix radosgw keystone authentication
Radosgw relies on shared secret token admin, passed via SERVICE_TOKEN variable, but token admin was deprecated, and devstack doesn't configure shared secret. This change switch on using service credentials instead, creates 'radosgw' service user with admin privileges and configure radosgw with them. Change-Id: I12d4ea4021b93be73358f0aa68a32879af8fda53 |
||
|
Alexey Sheplyakov
|
a007c2c76f |
Fix the failure to create swift endpoints
Shell scripts are whitespace sensitive, in particular a= $(echo A) a=\ $(echo A) tries to run the 'A' executable somewhere in $PATH with environment variable `a' set to an empty string. Change-Id: I57648e597a2875061f38c8669370598348e2c6f9 |
||
|
Tom Barron
|
28ae5aeae3 |
Enable multiple ceph filesystems for manila
In a lab setting it can be useful to allow multiple manila devstacks, each with its own CephFS filesystem, to share a common REMOTE_CEPH cluster. Parameterize the name of the CephFS filesystem that devstack creates and enable creation of multiple filesystems if appropriate variables are set in local.conf. Note that since separate filesystems require separate data and metadata pools, one also needs to set values for the extant CEPHFS_DATA_POOL and CEPHFS_METADATA_POOL parameters. Change-Id: I67a88b75d06f04621cb0dac726f307a06ee6113b |
||
|
Tom Barron
|
7540a7946a |
Fix settings for CephFS data and metadata pools
Although the devstack ceph plugin uses variables - CEPHFS_DATA_POOL and CEPHFS_METADATA_POOL - as arguments to the 'osd pool create' commands that provision the pools required for manila to use the CephFS Native backend, the overrides to the default values for these variables sets both of them to $CEPHFS_CEPH_POOL. This setting is counter-intuitive, and worse, forces use of a single pool for both data and metadata in the case both default values are overridden. Use CEPHFS_DATA_POOL and CEPHFS_METADATA_POOL as the override variables for the data pool and metadata pool, respectively. Change-Id: Iae2859388ce5e74b6f532cf2cf7809aaa09746cb Closes-Bug: 1593829 |
||
|
Jenkins
|
7155b09d95 | Merge "Suppress bashate line length warnings" | ||
|
Jenkins
|
4818f581fe | Merge "Use ${CEPH_DATA_DIR} everywhere" | ||
|
Jenkins
|
e21954821a | Merge "Fix restack problem with libvirt secret" | ||
|
Jenkins
|
92d33fb9fe | Merge "Update the supported Fedora releases" | ||
|
Jenkins
|
a5737b4579 | Merge "Fix typo in ruleset parsing" | ||
|
Tom Barron
|
5943d57eb4 |
Use ${CEPH_DATA_DIR} everywhere
The CEPH_DATA_DIR variable holds the location of Ceph drives and
objects. It defaults to '/var/lib/ceph'.
Replace hardcoded occurrences of '/var/lib/ceph' with
'${CEPH_DATA_DIR}'.
Change-Id: I2570e37f9135d853854600acfbfff3b768e4f0e3
|
||
|
Tom Barron
|
d11efa9ca2 |
Suppress bashate line length warnings
By default bashate checks for lines longer than 80 characters and issues E006 warnings for these. Suppress the E006 warnings since we don't enforce this line length standard in OpenStack shell scripts so that other warnings will be more evident. Change-Id: Icdf32cb7e3d810d2f8644674d3516ed808c873a5 |
||
|
Tom Barron
|
85f49431a9 |
Fix restack problem with libvirt secret
Restacking with ceph plugin fails when trying to install the cinder user's ceph authorization key in libvirt's list of secrets because there is already a secret in that list with the same uuid. The function _undefine_virsh_secret is run on cleanup and should have removed that key from the libvirt secret list. Fix a typo in the variable name for the uuid that identifies the authorization key in the secret list so that the cleanup routine removes the key as intended. Closes-Bug: #1570665 Change-Id: I19d2c20979dca49d73c427c5b1413229ff39f394 |
||
|
Jenkins
|
5e83890342 | Merge "Update README to be more clear" | ||
|
Jon Bernard
|
f546b4ac9a |
Fix typo in ruleset parsing
The rule_id line is formatted as: "rule_id": 0, Which means the id integer is the second column of the parsed output, not the third. Since a third column doesn't exist, the call to cut returns nothing, leaving $RULE_ID invalid, which then causes the subsequent ruleset commands to fail. We don't see this normally because $CEPH_REPLICAS is set to 1 by default. Change-Id: I0cc57f5abc023cb8b2faeea940f28ab54cd290ff Related-Bug: #1581159 |
||
|
Lee Yarwood
|
3ed9275cec |
Update the supported Fedora releases
Hammer LTS 0.94.6 is currently available for Fedora 22 and 23 [1]. Fedora 21 is EOL and should be removed from the list [2]. [1] https://admin.fedoraproject.org/pkgdb/package/rpms/ceph/ [2] https://fedoraproject.org/wiki/Releases Change-Id: I5fc7f25ed145c29cadbe03d945511aaa12c54310 |
||
|
melanie witt
|
fe06350c48 |
Add release key for installing packages from ceph.com
In commit
|
||
|
Jon Bernard
|
bb773e7285 |
Use ceph.com packages if not already configured
For the ceph job to be voting, infra requires that we pull packages from a pre-configured repository that's mirrored and reliable for gate jobs. They have arranged for ceph.com packages to be mirrored and will store a link to those packages in /etc/apt/sources.list.d/ceph.list. If this file is present, we should use it. If not, then we're free to update the sources list to fetch the latest packages. This approach is required to regain voting status in the gate. Change-Id: I5f811c917e6964c33440ed644597c9e485963626 |
||
|
Jenkins
|
0d990d8e95 | Merge "Install Jewel packages of Ceph for manila" | ||
|
Ramana Raja
|
e5f8480179 |
Install Jewel packages of Ceph for manila
The changes in Ceph that were needed to make manila's cephfs_native driver work are available in the Jewel branch. It's no longer necessary to use the 'wip-manila' branch. Also, with Jewel branch, manila's libcephfs client needs to be root to perform certain manila operations. So set manila's client as root. Change-Id: I715f79a6801b12522c047b1df4d950c99a1ffad5 |
||
|
Ramana Raja
|
d48d4f02d8 |
manila: Disable upload of service image
The cephfs_native driver CI does not need the service image that is being uploaded. Disable the upload until a need arises, for example, when the CI does scenario testing. Change-Id: I1ed0af5fd61829a075a41df2939f0377deb351b3 |
||
|
Jon Bernard
|
ccbb463e5f |
Update README to be more clear
This patch elaborates on fine-grained control of each service by listing examples instead of using pseudocode - which could be confusing to newcomers. Change-Id: I9ba3c7b4460aa840e88c2c8c82aa70ba06c8302c |
||
|
Mehdi Abaakouk
|
b53a074536 |
ceph: Allow to change the image path
If we want to put the disk image into a tmpfs, changing CEPH_DATA_DIR won't work because some file operation needed by ceph are not allowed on tmpfs. So, this change allows to change the disk image path only instead of the whole CEPH_DATA_DIR. Change-Id: If92f0bdca16f866a475820cf71a30ded28fb2572 |
||
|
Sébastien Han
|
65ab7713f7 |
Always use -p with mkdir
So if the directory exists the stack does not fail. Change-Id: Ibdd2883b5328d58d7c2a74d97dfe2e0ea87d65ee Signed-off-by: Sébastien Han <seb@redhat.com> |
||
|
Jon Bernard
|
18ee55a0a7 |
Fix formatting and indentation
Since we're about to be voting and I expect a few more people to be interested in the code, I think now is the best time to fix the indenting. It's a large patch, but there should be no functional changes. I removed one unused function and renamed internal-only function to be prefixed with '_'. Change-Id: Ibb9b26f0cc8719be4fec121c1b9aa279938aebd7 |
||
|
Jenkins
|
18524a2d39 | Merge "Enable showing multiple locations for ceph plugin" | ||
|
Jon Bernard
|
403511fbdc |
Remove extra license file
It seems to be a duplicate and I don't think we need both. Change-Id: Iaf7b6fe2b633fd6dd2d228960e48de238c8b1c33 |
||
|
John Spray
|
7b344bf77a |
Manila CI: update cephfs driver name
This was renamed from drivers.cephfs to drivers.cephfs.cephfs_native at the request of the Manila maintainers. Change-Id: I7ac2299ad323229418761bb06ee7891a48d87877 |
||
|
Mike Fedosin
|
62ea04c8d1 |
Enable showing multiple locations for ceph plugin
Currently glance v2 doesn't allow to specify custom locations for image by default, it returns 403. To enable this 'show_multiple_locations' param must be set to True. When Nova is doing snapshots with Ceph it provides location to activate image, which fails when we use Glance v2. To fix it we change the default param to True. 'show_image_direct_url' will be overridden. Related to blueprint use-glance-v2-api Change-Id: Id0f1c398b8b48f2ffc2488b29bc7cbd279069337 |
||
|
Ramana Raja
|
1aa19075c2 |
manila CI hook: disable glusterfs protocol
manila's cephfs-native CI tests cephfs driver, which does not support glusterfs protocol. The glusterfs protocol is enabled by a manila's tempest config option by default. Modify the config option to disable glusterfs protocol. Change-Id: Ia7a226d6a8b0ba5aeedcdf34e8a6f9a8dbbfda40 Closes-Bug: #1541377 |
||
|
Ramana Raja
|
d0889d1de2 |
manila CI: disable CG tempest tests
The manila API tempest tests for consistency groups (CGs) also test the 'create_consistency_group_from_snapshot' API that is not implemented by the cephfs native driver. So disable it by default in the CI hook script. Change-Id: Ibb6b15a98970262fab4bd98ad2bd4acd3990747f |
||
|
Deepak C Shetty
|
2a41327da0 |
Use ceph.conf to set default pool replica size
Use ceph.conf to set the default pool replica size, thus avoiding the need to set replica size for each pool separately. Change-Id: Ib00c1666895af2332a3689ee59b9929af81a17e9 |
||
|
Jenkins
|
8c9024fcf0 | Merge "Clean up ceph-mds in cleanup_ceph_embedded" | ||
|
Ramana Raja
|
79176de505 |
Manila: enable cephx CI tests for native driver
Set option to enable tempests tests related to 'cephx' access type for gate-manila-tempest-dsvm-cephfs-native CI job. Change-Id: If162271d81cd0d2efafd2d33659946eda30134ba |
||
|
Jenkins
|
41d1f86fee | Merge "Fix package list for installing with Manila" |