ff1b4231783e2935d7ce1dc07f7af4adc6f05c96
Commit Graph

154 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Walter A. Boring IV
ff1b423178 Add ceph-iscsi support
This patch adds support for installing, configuring all required
ceph-iscsi related packages and daemons. ceph-iscsi requires kernel
version 4.16 or greater.
To enable set
ENABLE_CEPH_ISCSI=True
Adds new config options
CEPH_ISCSI_TARGET_IQN - the rbd-target-gw iqn to use to export volumes
CEPH_ISCSI_API_HOST - the rbd-target-api ip to use to listen on
CEPH_ISCSI_API_PORT - the rbd-target-api port
CEPH_ISCSI_API_USER - the rbd-target-api user for auth against the api
CEPH_ISCSI_API_PASSWORD - the rbd-target-api password for auth against the api
The following packages are required and their deps
tcmu-runner - this requires kernel version 4.16 and > to work. Ubuntu
doesn't have a prebuilt package for this, so we pull it down and compile it.
rtslib-fb - has a pypi package
configshell-fb - has a pypi package
targetcli-fb - doesn't have a pypi package.
ceph-iscsi - doesn't have a pypi package.
The reference documentaion to setup ceph-iscsi targets and daemons:
http://docs.ceph.com/docs/master/rbd/iscsi-target-cli-manual-install
Change-Id: Idfac4883b9d31e80124b8f2f1cc60dd9ce18c594
2019年06月27日 11:30:57 -07:00
Zuul
90f1d21a83 Merge "Enable scenario tests with CEPHFS" 2019年06月10日 12:29:20 +00:00
Zuul
a40357d4aa Merge "Skip tempest.api.network tests" 2019年05月29日 14:12:46 +00:00
Goutham Pacha Ravi
5ca1f397ba Enable scenario tests with CEPHFS
Allow running api and scenario tests
together in the manila test jobs.
Change-Id: Ifbf998d7c8a27ad22a39f46547d1548c052614d0
2019年05月16日 14:07:55 -07:00
Matt Riedemann
5e11880882 Skip tempest.api.network tests
There is really no point in running the tempest.api.network
tests in the devstack-plugin-ceph-tempest job since a ceph
backend shouldn't make any difference to those tests.
This should speed up the job slightly and more importantly
avoid unnecessarily random failures from tests that don't matter
for this setup.
Change-Id: Icf8d776a648b93b232b83fd4493e00b5f76b3ebf
2019年04月24日 10:11:20 -04:00
Le Hou
07e83e50b2 Update opendev repository
Change-Id: I63c00c728033649be33511a068b52b9f15cfa5d4
2019年04月23日 17:52:51 +08:00
OpenDev Sysadmins
29510701eb OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019年04月19日 19:40:27 +00:00
Zuul
51f8550b02 Merge "Only import libvirt secret when nova is enabled" 2019年04月01日 17:51:17 +00:00
Goutham Pacha Ravi
2a2fb1aeee Fix readme for manila/ubuntu support
TrivialFix
Change-Id: Icd481b55e7684a67175fe6e5c2e2ef62d6e7046c
2019年03月25日 12:52:21 -07:00
Ian Wienand
182a33f440 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: I0ebfde9478ec07f9f8649e239adfccbf6f7431c6
2019年03月24日 20:33:29 +00:00
ghanshyam
4fbdae805f Disable multiattach feature for stable branches before stein
Below patch enabled the multiattach feature in devstack ceph job
without branch variant. Multiattach feature is only available
from stein.
- https://review.openstack.org/#/c/638499/2
This commit makes two variant of job with multiattach enable from
stein onwards only.
Change-Id: Ib0a5667a6125fa5ae430086db93baf5a53be4877
Closes-Bug: #1820098 
2019年03月14日 17:29:32 +00:00
Jon Bernard
b69c941d5c Enable multiattach tests in gate jobs
Depends-On: Ie3945427b54544a3b411c23bffdad1acb5e508e1
Change-Id: I520b3db106f72cddabfde4d71eee67607d7a4558
2019年02月27日 19:38:39 +00:00
Eric Harney
13d81f499b Trim tempest scenario test list
We are running a handful of scenarios that aren't related
to storage here.
Change-Id: I8a22fcfb0454e2267179d07fe67b9e04927145ff
2019年02月21日 14:13:58 -05:00
Zuul
f61f618a69 Merge "Disable volume multiattach testing" 2019年02月08日 16:11:22 +00:00
Tom Barron
74a88c0d3b Always use luminous for manila
Bring CentOS in line with ubuntu and use luminous rather than
jewel for all manila builds.
Change-Id: Ib0924e42551d25b68ee22ffb9b52caba302ac19c
2019年02月07日 14:48:47 -05:00
Matt Riedemann
f4e44320a9 Disable volume multiattach testing
Tempest change I522a15ba3dbfee5d8ef417e43288a12319abf6ff is
enabling volume multiattach testing in the tempest-full and
tempest-full-py3 job configurations which we inherit for
devstack-plugin-ceph-tempest and devstack-plugin-ceph-tempest-py3
respectively. Since the rbd driver in cinder does not support
multiattach yet we need to disable multiattach testing for these
jobs.
Change-Id: Ia9bd6a42f33a7d9fe3041cf5c751ab691df19cb7
2019年02月05日 11:48:53 -05:00
Tom Barron
2badb448e3 Use luminous for xenial and after
Change-Id: I82cc5232870a820c4c8a0526eb44de45cd67a369
2019年01月31日 14:51:08 -05:00
Tom Barron
d7878f2cba Use shaman again for manila
Builds for ubuntu bionic are working now.
We need newer features not yet packaged for ubuntu bionic
for python3 and ceph volume chmod support.
Change-Id: I20fa99c6f6da7d4042b50020ab0e9f34e7ac2de6
2019年01月29日 08:50:20 -05:00
Zuul
ed50be6dd4 Merge "Support manila with python3" 2019年01月29日 11:52:38 +00:00
Zuul
9e1de83bf0 Merge "Allow setting test API microversions in gate tests" 2019年01月29日 11:32:10 +00:00
Tom Barron
424375c739 Allow setting test API microversions in gate tests
Add MANILA_TEMPEST_MIN_API_MICROVERSION and
MANILA_TEMPEST_MAX_API_MICROVERSION to the ci
post_test_hook. These options default to
the values specified in the api_version_request.py
file. On master branch don't set these as we
want to run with the latest.
Related-bug: #1781671
Change-Id: I085ed175dfbe132c80a6a86ab34a281b3c94f5f0
2019年01月28日 14:08:44 -05:00
Tom Barron
a8be9e71a6 Support manila with python3
Use python3 compatible tempest test discovery and
install the relevant python3 libraries.
Change-Id: Iabd1952ddaba85316dec5cf60c89122dc3825912
2019年01月28日 11:06:12 -05:00
Tom Barron
59edb045f2 add bionic jobs for manila
Change-Id: I893ec0c97540e76d368a3cbfd8ebe63a0685a16b
2019年01月22日 12:18:48 -05:00
Tom Barron
c669989cd8 Use official bionic repos for manila
The shaman ceph and ganesha repos for ubuntu bionic are less
stable than those available with the bionic distro itself so
use the latter.
Also refactor the ceph/ganesha repo configuration so that it
is easier to read and maintain, and since bionic does not ship
with knfs installed make the service stop/disable for these
services robust in that case.
Change-Id: If00cc82cfb076c75a11738dcaca372b0cc7a1848
2019年01月03日 06:17:22 -05:00
Eric Harney
5b5fd0dfca Reference tempest_blacklist.txt file via zuul.projects
Finding this file via zuul.project only works if
the project is devstack-plugin-ceph, look for it via
zuul.projects which should work for any run of this
job.
Change-Id: I4bc982fad3b7de9582ef30b115c6829980f61047
2018年12月14日 10:10:24 -05:00
Eric Harney
7728027cdd Remove slow tests from blacklist
c6d3b84 intended to turn on
"TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_luks",
but it didn't since that test is marked as slow.
It only turned on
"TestVolumeBootPattern.test_boot_server_from_encrypted_volume_luks".
Change-Id: Ifa8ec1651be95dd6d8d30ed5d04e9ac692209e50
2018年12月13日 17:45:44 -05:00
Zuul
fb26d5d5a5 Merge "Test attach encrypted volume" 2018年12月13日 14:00:56 +00:00
Eric Harney
c6d3b84268 Test attach encrypted volume
Enable encrypted volume testing.
Change-Id: I96739a3592241aff6326662d15f36b39f1772356
2018年12月12日 15:35:20 -05:00
Tom Barron
1105870917 Support Ubuntu Bionic LTS release for manila
Continue to use the upstream shaman repos for manila so
we can test changes prior to their inclusion in the distro.
Also overwrite /etc/ganesha/ganesha.conf rather than
appending to it since the file now ships with configuration
that breaks ganesha with CephFS FSAL.
Change-Id: I6db16684fcf1e4ad573e25f0475b283cd85dc2c7
2018年12月11日 07:26:00 -05:00
Zuul
eea5899815 Merge "Support Ubuntu Bionic LTS release" 2018年12月05日 14:18:39 +00:00
Jens Harbott
39de6df041 Fix installation of PasteDeploy from upstream pkgs (again)
Similar to what happened some time ago for the stable/queens branch, we
are now seeing issues again on master after there was a new Paste
release being made a couple of weeks ago. So we need to perform
the same workaround of forcing pip to install PasteDeploy over
the distro version on the master branch.
Change-Id: I3e98a08e78182bdf5ec09b30e31b98435ec29456
Closes-Bug: 1803143
2018年11月14日 15:23:04 +00:00
Jens Harbott
917f0bef81 Support Ubuntu Bionic LTS release
Ubuntu Bionic has Ceph Luminous packages available natively, so we don't
need to set up any additional repositories.
Add a delay after starting ceph-mon in order to allow it to run
properly.
Change-Id: I2c40c4b4e49145d679affaba678f7117ce73a1d1
2018年10月24日 07:00:12 +00:00
Andrea Frittoli
9e5d173f5a Add ceph jobs as zuulv3 native in tree
This migrates the legacy jobs to zuulv3 native ones.
While migrating the jobs I got the impressions that they have not
bin maintained recently, which is possible since they are not
voting / experimental.
The regex in the py27 job includes cinder.* tests, and the job
used the all-plugin tox env (which has site-packages enabled) so
my guess is that the job used to run cinder in tree tests.
Those tests are now available in the cinder-tempest-plugin repo
instead, which could be added to these jobs if needed.
Following a similar setup in the cinder-tempest-plugin[0] we add
a file `tempest_blacklist.txt` that can by amended to list tests
that are known to fail for a ceph based deployment.
[0] https://review.openstack.org/#/c/531206/
Co-Authored-By: Jens Harbott <j.harbott@x-ion.de>
Change-Id: I27f85991ca947809d46ae2dee57704e779e6dfb6
2018年09月10日 22:19:48 +00:00
Doug Hellmann
2dc608c6b0 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I65217d73f55132dbd1ca48ac421cba504543d1cb
Story: #2002586
Task: #24327 
2018年09月08日 22:51:06 -04:00
Luigi Toscano
21de8038dd Fix the Keystone authentication URL used by RadosGW
Simply use $KEYSTONE_SERVICE_URI, which is the value also
exported through OS_* variables.
Change-Id: I07296379fa691fed20ed5b1c53b335b2442a6c4e
2018年06月20日 19:17:28 +02:00
Luigi Toscano
20cad2d3b5 Add shared functions to configure ceph repositories
The functions support only repositories from shaman,
but they can be extended to support stable repositories as well.
Change-Id: I633f80c0f74a69e6d67674398f2013f09b96c661
2018年05月30日 22:17:55 +02:00
Luigi Toscano
023be1103f Cleanup CentOS/Fedora support
Clean the "CentOS" branch, so that it should work for all
CentOS/RHEL variants (7.x). Make sure to install the
required repositories also in the non-Manila case.
Fedora already ships Ceph packages so does not need additional
repositories.
Do not try to install ceph-radosgw twice.
Finally, explicitly fail for other distributions (not supported
de-facto even in the current code).
Change-Id: I83b1fffad405bc122bc55ef1173f5239f41d2b36
2018年05月30日 16:16:45 +02:00
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