d1fbd5a31d9e40de560bf47fb403b2916981fa15
Commit Graph

267 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Luigi Toscano
5b07d43b3e Use iniset to populate CEPH_CONF_FILE whenever possible
The remaining occurrences of cat <<... EOF populate non-INI files.
Remove few security checks which are not needed, because iniset
takes care of checking the existence of the section and keys and
adding or replacing them if needed.
Change-Id: I4951e1f2f456b3c6f83fd4868db90fae9d811fbe
2018年05月22日 18:25:46 +02:00
Zuul
3660548a32 Merge "rgw/keystone: disable the NSS db integration by default" 2018年05月22日 14:54:11 +00:00
Luigi Toscano
24c8bd8d38 rgw/keystone: disable the NSS db integration by default
The integration with keystone through the PKI tokens (which is removed
anyway since Ocata) and SSL is now disabled by default, and enabled
only if a new variable (CEPH_RGW_KEYSTONE_SSL) is explicitely set
to True.
Change-Id: I4884a8e63c04451e83eb7a104ad7eb7d520b0921
2018年05月21日 18:19:27 +02:00
Luigi Toscano
6d1ef658c9 Remove the usage of KEYSTONE_CATALOG_BACKEND
It was removed from DevStack before the Ocata release, see
https://review.openstack.org/#/c/391380/
The support for the only alternative (templated catalog) was
removed even earlier, before Mitaka:
https://review.openstack.org/#/c/278333/
This means that the entry points for Swift can always be
configured when RadosGW is enabled.
Change-Id: I25c1f963665fab1dc77db40a2742dc29a9c1ee0b
2018年05月21日 10:33:10 +02:00
Luigi Toscano
1731d2364c Fix the variable for identity version, change default
The names were used for the same entity, so the default was never
applied. Use the variable defined first (and whose name looks
more consistent with the variable normally used to defined
the identity name).
Also, change the default version to 3. As no one seems to be
using it right now on the gates, it should not break anything.
Change-Id: I4cbb104198e2cdaa8e3e8c4b1f1c20dc3e0048b5
2018年05月16日 10:16:05 +02:00
Jens Harbott
53b56e147a Apply workaround for PasteDeploy only on stable/queens
The workaround in order to fix the issue with Paste/PasteDeploy being
pulled in as system packages when installing ceph is only needed for the
Pike UCA. Assume that we only use that when devstack is running at the
stable/queens branch.
Change-Id: I0bbf04be015b777b3feb2c5e837b1f46f81cf3e9
2018年04月24日 09:25:29 +00:00
Jon Bernard
c5c0adcc60 Only import libvirt secret when nova is enabled
This fixes a small logical error, we only want to set a libvirt secret
if nova is enabled, not both cinder and nova. This prevents a
deployment with cinder but not nova from being successful.
Change-Id: Ief83fe661cf1b2099af8131a7a206ffca3458dc7
2018年03月20日 12:40:58 -04:00
Rishabh Dave
430fff8313 To run manila tempest tests invoke tempest installed system-wide
Since manila-tempest-tests is now installed system-wide and not in a
virtual environment, use tempest installed system-wide to run them.
Depends-On: I0844cdb48b9d415bd341c4687620412178be871b
Change-Id: I8abe6ba29766ecaa7faade06a1b23520733139a2
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018年02月02日 19:40:54 +05:30
ghanshyam
41d575b2dc Remove use of unsupported TEMPEST_SERVICES variable
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf
Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4
This commit removes the unused TEMPEST_SERVICES setting
Related-Bug: #1743688
Change-Id: I4ad77632027438537a38d46145b389ef6de06c98
2018年01月23日 16:55:33 +03:00
Eric Harney
2f37a1f502 Fix Fedora version check
The regex in 84068e was inverted.
Change-Id: Ibac88f2f5a2fbd52a3111d87d48352dd6dd813c4
2018年01月17日 15:25:04 -05:00
Zuul
4795ef87a8 Merge "Allow all versions of Fedora" 2018年01月16日 14:26:25 +00:00
Eric Harney
84068e1526 Allow all versions of Fedora
This assumes that nobody is using this plugin
on outdated versions of Fedora.
Also don't recommend an outdated Fedora.
Change-Id: I858b78ee1a02e98a5bf4545ee315328e3fab0010
2018年01月15日 13:24:59 -05:00
Raissa Sarmento
85e277ce19 Change manila post_test_hook to use plugin repo
Fix in order for the tempest jobs run manila's
tempest plugin from the new plugin repository.
Change-Id: Id07f965e5b73d20ca99e75760d196d55c7b6fbc8
2017年12月11日 20:09:01 +00:00
Ramana Raja
6ed64665cb [manila] allow cephfs-nfs driver to store ganesha exports
... and export counter in RADOS pool.
Change-Id: I192a0aebdd7cad11c9aa2e8e6b3c4e814f55a12d
2017年12月04日 21:28:26 +00:00
Matt Riedemann
9f1f729d60 Conditionally install python3 packages
We should only attempt to install the python3 packages
if we're running in a python3 environment.
Change-Id: Ic5e3046917a51d884091b449a433259c049ac016
Closes-Bug: #1724249 
2017年10月17日 09:45:28 -04:00
Zuul
c4ddabdd1b Merge "Use generic user for both zuul v2 and v3" 2017年10月17日 11:11:01 +00:00
Nam Nguyen Hoai
f2b2787503 Use generic user for both zuul v2 and v3
Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'.
Using $USER solves it for both cases.
Change-Id: I8cddbefaf006b6d54285fffe2a245a4a8ea8b251
2017年10月17日 07:37:20 +00:00
Zuul
66c00fc52e Merge "Add python3-rados and python3-rbd so services can run under py3" 2017年10月16日 13:16:44 +00:00
melanie witt
6e2de3845a Force pip install update of PasteDeploy
The gate-tempest-dsvm-full-devstack-plugin-ceph-ubuntu-xenial job is
currently failing at a rate of 100% since we updated to use the Pike
UCA. The Ceph packages in the Pike UCA are pulling in python-paste and
python-pastedeploy. When devstack pip installs a newer version of
python-paste to satisfy upper-constraints, we end up with Paste
installed from pypi and python-pastedeploy installed from the Ubuntu
archive and Keystone fails to start with the error:
 "ImportError: cannot import name deploy."
This adds a hack to force an update of PasteDeploy from pypi during the
devstack "stack install" phase to work around the problem and get the
job passing again.
Change-Id: Idf28de8faa56c2d387291c7d14ac6d4bf1c74c6a
2017年10月09日 19:09:01 +00:00
melanie witt
54b360cdd3 Add python3-rados and python3-rbd so services can run under py3
Recently, I noticed in the devstack experimental job
gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv that
when Glance runs under python 3, it was unable to import rados and rbd
because the Ceph plugin doesn't install the python 3 packages. This
adds the packages to the list for install.
Change-Id: Ib4f956e45885df583624bd7c24989472f44eb365
2017年10月06日 05:02:27 +00:00
Jenkins
cd2009193a Merge "setup ceph-mgr daemon for luminous rc and greater" 2017年08月21日 14:08:36 +00:00
Jenkins
99ab6a2393 Merge "Update tag link address in README" 2017年08月21日 11:29:53 +00:00
Tom Barron
c379982029 remove tempest pin
Change [1] removed the tempest pin from the
pre test hook in manila proper.
Remove it here as well.
Closes-Bug: #1711815
[1] Ia402fb79e1de5c9925f575d635b9928475095f86
Change-Id: I2a6e1854718df272eb40d68cbe41d9ddfb962b71
2017年08月19日 09:55:21 +00:00
Ramana Raja
68185a8294 setup ceph-mgr daemon for luminous rc and greater
ceph-mgr daemon is required as part of Ceph cluster from
luminous release onwards.
Change-Id: I0903b3cd9fa84041bcd7ed5034d8a60d14759e92
Closes-Bug: #1708169 
2017年08月16日 16:58:14 +05:30
zhangdebo1987
3e2e1d77bb Update tag link address in README
Change-Id: I1d696c63baad4d117e6e7e87242751c2d550b739
2017年08月03日 15:00:04 +08:00
Ramana Raja
40880a4ded [manila] revert to latest Ceph kraken for cephfs-nfs driver
The manila cephfs-nfs driver jenkins gate has been failing for a while
since it started using Ceph >= 12.1.1. The manila driver is unable to
fetch Ceph cluster usage stats as it did with earlier Ceph releases.
Temporarily revert to using Kraken 11.2.x stable packages to unblock
the failing gate.
Partial-Bug: #1708169
Change-Id: I4e842e2cee14755e02714e856114a5eabb5613b3
2017年08月03日 10:43:45 +05:30
Jenkins
f6dd0d982a Merge "Remove keystone pki_setup" 2017年07月12日 19:11:02 +00:00
Ramana Raja
deb0784047 manila: install latest luminous packages
... for cephfs-nfs driver
Change-Id: I7d59ce288a245e7399b38020282be8e7c7fe62f7
2017年06月28日 18:47:20 +08:00
Eric Harney
977cc53f9c Remove keystone pki_setup
This command no longer exists.
Closes-Bug: #1700160
Change-Id: I9feaff1e8d7e6505d36d0702ef531a95289f9618
2017年06月23日 15:56:25 -04:00
Eric Harney
ff6bdd7454 Disable compute shelve tests
This is to workaround this test which is not currently
working:
https://review.openstack.org/#/c/471352/
Change-Id: I9506e326f9432eda3a057996805d4b0cd7a91446
2017年06月13日 14:06:18 -04:00
Tom Barron
1e808b7ec7 Set share enable_protocols for cephfsnfs driver
for tempest configuration in manila post test hook to "nfs"
so that CIFS tempest tests will be skipped. Its
default value is ["nfs", "cifs"].
Change-Id: I96a5f6bfd5364740689538538bac8bb59187b9b6
2017年06月02日 04:20:08 -04:00
Ramana Raja
8b25bb1ed4 manila: run only nfs related tempest tests
... in the cephfs-nfs driver's Jenkins gate.
Change-Id: I8ba601835f8f1d989422c3e047dd84edd9441a3d
2017年05月29日 10:57:14 +05:30
Jenkins
57f56e79c4 Merge "Update list of supported Fedora releases" 2017年04月13日 12:27:20 +00:00
Lee Yarwood
fae7232411 Update list of supported Fedora releases
- 24 and 25 are the currently supported releases.
- 22 and 23 are now unsupported and are EOL.
Fedora Releases
https://fedoraproject.org/wiki/Releases
Change-Id: Ib03fdb0855eb02f7495b3835d8016cbe08508b1e
2017年04月12日 11:17:48 +01:00
Ramana Raja
a53eaba747 Add support to setup CephFS NFS-Ganesha driver
... for Manila. Tested to work in Ubuntu Xenial
and CentOS 7 environments.
Co-Authored-By: Tom Barron <tpb@dyncloud.net>
Change-Id: Ib2e806fefdd0548b06ff6aadd4b6a8e62001ea33
2017年04月06日 14:13:12 +05:30
Ramana Raja
cf3215dfef Explicitly call ceph-create-keys after MON start
... for Ceph versions >= 11.1
For versions of Ceph >= 11.1, starting ceph-mon service doesn't
implicitly call ceph-create-keys to create the client admin key [1].
Call ceph-create-keys after starting MONs to do so.
[1] http://tracker.ceph.com/issues/16036
 cc441cbd6e
Change-Id: Id67cc875ce5e8bca7430465a30e2b02dd81c7e6a
2017年03月28日 18:56:33 +01:00
Ramana Raja
ed24ed385d manila: install Ceph for Ubuntu trusty or xenial
When setting up Manila with CephFS in Ubuntu machines, don't
always install Ceph packages for xenial. Allow installation
of Ceph packages for trusty in Ubuntu trusty machines.
Change-Id: I70d26a3db2034331c8101795b432831718a15273
2017年03月19日 18:36:08 +05:30
Ramana Raja
6d01a64e1d manila: install Jenkins built Ceph packages
For manila-CephFS CI, latest Jewel Ceph packages built using
gitbuilder were installed. Jenkins based Ceph build system is going to
replace the gitbuilder based build system. Switch to using packages
built by the newer system.
Change-Id: Ic9b76bc5754dc8b98a11da9fadbeb9d6ace87d5b
Closes-bug: #1642678 
2017年03月01日 12:27:51 +05:30
Ramana Raja
9c59965cd6 manila: use local.conf in pre_test_hook script
As per,
http://lists.openstack.org/pipermail/openstack-dev/2017-February/112872.html
a devstack plugin's pre_test_hook script can set options
in local.conf and not in localrc. Do so to unblock gate,
gate-manila-tempest-dsvm-cephfs-native
Closes-bug: #1668197
Change-Id: Ic426935f0c5c5aa66fddf496b6b97350ec56b5e5
2017年02月27日 15:10:42 +05:30
Matthew Treinish
3ece1cd96d Disable swap-volume in tempest when ceph is used
Ceph doesn't support volume swapping so disable that feature in
tempest.
Change-Id: I8f3da1d730113b100526662ba7ec71f603ab36da
2017年02月10日 10:10:15 -05:00
Jenkins
a61a4fd647 Merge "Show team and repo badges on README" 2017年01月17日 17:43:38 +00:00
ghanshyam
9763645b0c Fix *-ceph-* job for manage snapshot tests failure
There is no snapshot manage feature on ceph backend and
tests for the same should be skipped on ceph jobs.
There is devstack variable to do so.
Currently gate-tempest-dsvm-full-ceph-plugin-src-glance_store-ubuntu-xenial
is failing and blocking glance-store
Details:
http://lists.openstack.org/pipermail/openstack-dev/2017-January/110257.html
This commit sets TEMPEST_VOLUME_MANAGE_SNAPSHOT to False for ceph jobs.
Change-Id: Ie3eca6db5c76153d46e4dfbe9b552e4025347d31
2017年01月17日 12:58:54 +05:30
Jens Rosenboom
d962d573ec Fix disk size default settings
In [1] the default value for CEPH_LOOPBACK_DISK_SIZE_DEFAULT was changed
to be VOLUME_BACKING_FILE_SIZE instead of a fixed value. This will break
in some cases as there is no fallback defined for
VOLUME_BACKING_FILE_SIZE in devstack/lib/ceph.
[1] https://review.openstack.org/403988
Change-Id: I117e36db442c8ef8c469e4149629e8a27d22da22
2016年12月01日 14:09:41 +01:00
Flavio Percoco
3a35c7c907 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.
For more information about this effort, please read this email thread:
http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html
To see an example of how this would look like check:
https://gist.github.com/12e6197629898729300789fabbaa9660
Change-Id: Ic349b1f9fecc18b1525c64248471fa91039bb288
2016年11月29日 21:08:57 +00:00
Matt Riedemann
9293ac03ab Create backing disk using $VOLUME_BACKING_FILE_SIZE
The backing disk currently created is 8GB. devstack-gate
sets that to 24GB when running Tempest. We're seeing ceph
job failures due to NoValidHost in the cinder scheduler
because 8GB isn't enough capacity for Tempest runs. So this
change uses the same backing disk size for the ceph jobs as
we get in the default devstack setup, which uses LVM.
Depends-On: I71be308c8373e9ac429b901c374100c6b3c1e59d
Change-Id: I788eefa6c1d427bf51d2d3d40be4abe0336443e7
Closes-Bug: #1645530 
2016年11月29日 14:24:14 -05:00
Tom Barron
1382baf491 Use "-c ${CEPH_CONF_FILE}" in cleanup_ceph_remote
Add config file argument to ceph commands in cleanup_ceph_remote
function so that it will cleanup properly if CEPH_CONF_FILE has
a non-default value.
Change-Id: I0c6dc3494bcf700364af0c578cc9a60b082427d5
Closes-Bug: #1643513 
2016年11月21日 13:00:14 +00:00
Jenkins
8f5b8bb712 Merge "add support deploying containerized ceph" 2016年10月21日 13:08:01 +00:00
Sébastien Han
28c600a76a add support deploying containerized ceph
This commit introduces the support of deploying a containerized ceph
cluster. It relies on the ceph/demo container image available as part of
the ceph-docker project (https://github.com/ceph/ceph-docker).
To enable this scenario, just set CEPH_CONTAINERIZED to True, all the
previous available options will work. So settings like
CEPH_LOOPBACK_DISK_SIZE continue to work.
Change-Id: Ie10155140448c04b88b9920381b54505f7359585
Signed-off-by: Sébastien Han <seb@redhat.com>
2016年10月20日 18:41:18 +02:00
Jason Dillaman
a985472cf0 Revert Ceph RBD to Hammer-release default features
Xenial currently ships with Ceph 10.2.2 which has a known issue that
can result in updated images failing to be refreshed when the cluster
is overloaded and drops update notifications [1]. This is most likely
the cause for recent Ceph gate failures [2].
Disabling the new Jewel+ default image feature of exclusive-lock
(revert to Hammer default behavior) should be a workaround for this
issue.
The RBD default features can be overridden via CEPH_RBD_DEFAULT_FEATURES
[1] http://tracker.ceph.com/issues/16404
[2] https://bugs.launchpad.net/cinder/+bug/1627220
Change-Id: Id7fab306e918ba7566ebe2a765d4345fea6c5653
Closes-Bug: #1627878
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016年10月04日 08:55:34 -04:00
Jenkins
200906ff29 Merge "Deploy radosgw as glance backend" 2016年09月19日 08:38:21 +00:00