1e808b7ec7f6a5bcdaa16407ad79d392c981b09f
Commit Graph

87 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
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
Jenkins
f99df5b61d Merge "Add Debian support os support, for Jessie and sid" 2016年09月19日 08:35:55 +00:00
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
2016年09月16日 18:55:51 +03:00
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>
2016年09月15日 23:31:04 +08:00
Kevin Zhao
37df605e0b Add Debian support os support, for Jessie and sid
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Change-Id: Ifc75a97fa7795647494ab92e94b4dec49064eb87
2016年09月15日 19:05:09 +08:00
Jenkins
c7bd83b00a Merge "change repo url" 2016年08月19日 03:54:43 +00:00
Jenkins
621c1474ff Merge "purge repo file when unstacking" 2016年08月18日 16:13:07 +00:00
Jenkins
c7251d938b Merge "Fix radosgw keystone authentication" 2016年08月18日 16:12:04 +00:00
Jenkins
956318d719 Merge "Add rhel7 os support" 2016年08月18日 16:11:58 +00:00
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>
2016年08月18日 12:11:55 +02:00
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>
2016年08月18日 11:53:05 +02:00
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
2016年07月29日 23:02:21 -07:00
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
2016年07月14日 12:00:10 -07:00
Einst Crazy
0ca362bbae Add rhel7 os support
Change-Id: Ia1adcad17c447c5ee03b9e79a9df341f877ce189
2016年07月06日 09:46:20 +00:00
Jenkins
ccd9d3d792 Merge "Fix the failure to create swift endpoints" 2016年07月06日 09:39:47 +00:00
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
2016年07月01日 14:23:24 -04:00
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
2016年06月30日 19:20:29 +03:00
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
2016年06月27日 17:50:30 +03:00
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
2016年06月20日 09:46:44 -04:00
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
2016年06月17日 14:19:50 -04:00
Jenkins
7155b09d95 Merge "Suppress bashate line length warnings" 2016年06月13日 13:56:28 +00:00
Jenkins
4818f581fe Merge "Use ${CEPH_DATA_DIR} everywhere" 2016年06月10日 10:12:46 +00:00
Jenkins
e21954821a Merge "Fix restack problem with libvirt secret" 2016年06月10日 10:12:44 +00:00
Jenkins
92d33fb9fe Merge "Update the supported Fedora releases" 2016年06月10日 10:12:16 +00:00
Jenkins
a5737b4579 Merge "Fix typo in ruleset parsing" 2016年06月09日 20:52:04 +00:00
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
2016年05月28日 06:15:32 -04:00
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
2016年05月28日 05:40:23 -04:00
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
2016年05月28日 05:23:10 -04:00
Jenkins
5e83890342 Merge "Update README to be more clear" 2016年05月12日 19:20:13 +00:00
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 
2016年05月12日 14:00:34 -04:00
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
2016年05月12日 10:18:42 +01:00