d1fbd5a31d9e40de560bf47fb403b2916981fa15
Commit Graph

267 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Eric Harney
d1fbd5a31d Initialize RBD pool
When we deploy devstack, we need to initialize the RBD pool.
Not doing so means that functionality like rbd trash purge
scheduling will not work correctly.
Ref: https://docs.ceph.com/en/latest/start/quick-rbd/
Change-Id: I5b0b3b83fb7ef805929fdcd106a5c8a988b05ec4
2021年08月26日 19:22:20 +00:00
Victoria Martinez de la Cruz
83a076c214 Add CentOS8 Stream support
Remove the need of using FORCE_CEPH_INSTALL=yes
for CentOS8 Stream
Change-Id: I76c2c3805a8f606dca69a0f12aca226680fda573
2021年06月21日 17:55:48 +00:00
Victoria Martinez de la Cruz
503781a9f8 Remove redundant Fedora version check
Seems a trace from older code. It doesn't make
much sense to allow all Fedora versions that
matches f[0-9][0-9] and then check for specific
Fedora versions in the following lines.
Remove this check and just allow some specific
versions
Change-Id: Ie14a453f96689f574f1b388ab8f6e5467a59b7f7
2021年06月18日 15:43:58 +00:00
Ghanshyam Mann
36b15031e9 Update IRC network to OFTC
Change-Id: I66b8412e61cec0b77ea63e4551ba3f082892bd38
2021年05月31日 15:05:57 -05:00
Giulio Fidente
1c3a975873 Bump up Ceph to Pacific and Ganesha to v3.5
This will change the version of Ceph from Octopus to Pacific and,
with it, the version of Ganesha from v3.3 to v3.5 which is the
version shipped into the Ceph Pacific container.
Change-Id: I1b31ef9dd13e1d56284f8d9f8be03e3fee0eb0a7
2021年05月24日 23:19:56 +02:00
Zuul
eff4aa43ac Merge "Clean up our disk image and mountpoint" 2021年05月21日 21:08:05 +00:00
Goutham Pacha Ravi
837f48de40 Remove devstack-gate test hooks
devstack-plugin-ceph is now branched;
these test hooks were maintained to
support legacy style zuul jobs; All
manila zuul jobs were ported to native
zuulv3 style jobs in the victoria cycle
and no longer rely on these files;
so we can remove these test hook files
from all three releases (victoria, wallaby,
xena/trunk).
Change-Id: I81e838bf13cb32503ee2b8becd06daea5ab01dfa
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021年05月18日 12:05:23 -07:00
Victoria Martinez de la Cruz
c5545a3db5 Enable testing Ceph master
This changeset adds a config option (TEST_MASTER)
to toggle testing with the current Ceph master.
The builds are retrieved from Shaman, which is the
platform used by the Ceph community to submit their
latest builds.
The main goal of this change is to use this on our CI
and be able to catch bugs in OpenStack services that use
Ceph as a backend more quickly. Because of this, the
required non-voting job is also added.
Change-Id: Ibe26f89e7be3061cdb7acb441727efb2c396e29e
2021年05月11日 17:02:29 +02:00
Anand Bhat
c6de661939 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020年07月23日
Change-Id: I4bc8f70dd208e39c41d68bb82cf54ccaea9f6ebf
2021年05月06日 23:30:09 +05:30
Ghanshyam Mann
098abdc9ee Remove the stable branch jobs from master gate
devstack-plugin-ceph is now branched and each branch
will maintain the respective branch specific code and
testing.
Change-Id: I9edf3ff59055e1ce6cd1630ea8e747ff5b498f02
2021年04月14日 13:53:03 -05:00
Zuul
ce772c0047 Merge "Run all stable branches jobs as gate (not experimental)" 2021年04月07日 16:19:55 +00:00
Luigi Toscano
c55c49121a Run all stable branches jobs as gate (not experimental)
The risk of breaking the gates by forgetting to run the jobs
against the old branches is too high
(it has happened with https://review.opendev.org/778960/ for example)
Related-Bug: #1921897
Change-Id: Ieab4e0ee482604802485cdf573c31e3c373a8553
2021年04月07日 11:33:33 +02:00
Eric Harney
35e1ff5cf4 Set RBD default features based on distro
In some jobs, we run tests that use "rbd map".
On older kernels, this will not work if newer
RBD features are used. (Specifically, fast-diff
on bionic.)
On older distros, enable fewer features by default.
Closes-Bug: #1921897
Change-Id: Iff1c5210b0279379eb9612b206bdf456dd6f132e
2021年03月30日 09:56:57 -04:00
Zuul
60ae7c53c7 Merge "tempest: Use a more appropriate name for the skip list" 2021年03月19日 17:27:12 +00:00
Zuul
49f297240d Merge "zuul: Introduce a multinode ceph job" 2021年03月19日 17:13:00 +00:00
Zuul
59bef674f5 Merge "Set rbd default features in ceph.conf" 2021年03月16日 22:42:06 +00:00
Lee Yarwood
ac0e4a8f51 tempest: Use a more appropriate name for the skip list
Change-Id: I59c8692ed7dab123c5bfce9e7e28646b4800846f
2021年03月12日 17:24:09 +00:00
Lee Yarwood
38af8cdb41 zuul: Introduce a multinode ceph job
This change introduces a multinode ceph job based on
tempest-multinode-full-py3 to be used to provide live migration and
other multinode coverage initially in the openstack/nova project.
As this job uses ceph for both Nova ephemeral
([libvirt]/imagebackend=rbd) and Cinder volume storage the live block
migration tests are skipped.
Change-Id: I9ffdff44a3ad42ebdf26ab72e24dfe3b12b1ef8b
2021年03月12日 17:22:54 +00:00
Lee Yarwood
6e6c81bc57 nova: Make configure_ceph_nova multinode compatible
This change stops configure_ceph_nova from creating the vms pool when
CEPH_REMOTE=true as this suggests that it has already been created by
the controller that has CEPH_REMOTE=false set.
Change-Id: Iaad67025a23bf29e29011c6e78662692af2b564a
2021年03月12日 17:22:50 +00:00
Eric Harney
467b4295f2 Set rbd default features in ceph.conf
The typical Cinder deployment should have
more than just "layering" enabled.
Enable fast-diff, which requires exclusive-lock
and object-map.
Previously, there was code that tried to enable
exclusive-lock when CEPH_ISCSI is enabled, but this
code would not work reliably, since it was doing
addition instead of bitwise-or. Just remove it
since exclusive-lock will be enabled by default.
Change-Id: Idad98cfebf5e3b265316f2b6a3c201b472faa32c
2021年03月12日 12:18:49 -05:00
Zuul
5f38ad82ad Merge "Stable jobs: run the tests on victoria, remove stein" 2021年03月11日 20:47:10 +00:00
Luigi Toscano
ef434bc513 Stable jobs: run the tests on victoria, remove stein
Update the list of tested stable branches (excluding stein which is EM).
The nodesets for the stable branches are now pinned because
their testing environment are well defined and won't change.
Also, remove the -py3 suffix: those jobs are all -py3 based
(the suffix was mostly requires in the transitional time
between py2 and py3).
Change-Id: I48f8574960df51fc47f80fa17091fd13ec71aa99
2021年03月05日 17:08:30 +01:00
Victoria Martinez de la Cruz
4c23af18d0 Update ceph default version to octopus
Consume packages from download.ceph.com for ceph octopus
Our focal fossa based CI jobs are getting octopus from
ubuntu ppas instead of getting the packages from
download.ceph.com.
This happens because, even though we were defaulting to
nautilus, ubuntu got the later version available
(in this case, the packages in ubuntu ppas).
Also, remove CEPH_STABLE_RELEASE env var, unify to CEPH_RELEASE
Stable branches CI versioning is done in the jobs definition now
Change-Id: I1edd5a50079f325fa143a7e0d51b3aa3bb5ed45d
2021年03月01日 14:00:02 +00:00
Zuul
57b5ab1520 Merge "Update override-defaults to support ceph_iscsi" 2021年02月10日 17:00:58 +00:00
Zuul
f06b985abc Merge "Remove debug_ms" 2021年01月13日 21:32:22 +00:00
Victoria Martinez de la Cruz
6c78c63238 Remove debug_ms
Having debug_ms enabled populates logs with too much
information. This makes it harder to debug in most cases.
Disable by default.
Change-Id: If180f9be42e95492ab457420e48a494fd2689e6e
2021年01月13日 18:25:02 +00:00
Lee Yarwood
14370639a3 Add tempest.api.identity to tempest blacklist
As with tempest.api.network the identity tests have nothing to do with
ceph so lets blacklist them and hopefully reduce runtime.
Change-Id: Ibcda268021b236bc049e21b7ddd9e99a7c24dace
2020年12月24日 10:58:51 +00:00
Tom Barron
68b6ec14fd Tweak ganesha repo cleanup
Add a glob pattern at the end of the file removals so that we
also capture items like
 nfs-ganesha-ubuntu-libntirpc-3_0-focal.list.save
which can otherwise cause issues next time we stack
(install_prereqs sees it and gets confused).
Change-Id: I6bb75a75972c47fa87f0d703dda242d2b9bb07b7
2020年12月11日 15:10:41 -05:00
Zuul
d2efe37715 Merge "Bump NFS Ganesha version" 2020年12月11日 15:23:04 +00:00
Tom Barron
631414af25 Clean up CEPH_DATA_DIR when unstacking
When working locally it is nice to be able to
run unstack.sh and not have too much extra stuff
to clean up by hand before running stack.sh again.
So clean up CEPH_DATA_DIR, contenta and mounts.
Also fix a spot where '/var/lib/ceph' (the default
value for CEPH_DATA_DIR) was hard-coded.
Change-Id: I43ff06ca38f42ea4305b2c862902bf6f612e32f0
2020年12月08日 12:49:38 +00:00
Zuul
8521f4a0c8 Merge "Disable caching done by ganesha" 2020年12月08日 06:21:12 +00:00
Victoria Martinez de la Cruz
adbc28ae1a Enable cephFS snapshots in manila
To use the snapshots capability that the cephfs drivers have
we need to set the share type extra spec enable_snapshot support
to True
Change-Id: I45dddd49578eaca81276bbf44a44701c80b8a8c4
2020年12月07日 19:11:49 +00:00
Victoria Martinez de la Cruz
4d3e8cf65c Bump NFS Ganesha version
We are using NFS Ganesha 2.7 which is not longer supported
by the Ganesha community. Let's use v3.0 instead.
Closes-Bug: #1898952
Change-Id: I69543fd33c98817bba76c6712ae91264c532c12c
2020年12月07日 13:54:24 -05:00
Victoria Martinez de la Cruz
9c14446e81 Disable caching done by ganesha
Disable caching done by ganesha when ganesha
is used as CephFS's gateway (manila's usecase)
This is the recommended Ganesha setting as libcephfs
already caches information. Doing so helps avoid
cache incoherency issues.
Change-Id: Iacd575ac61b39ab9dcf8814514b5e3267570a17f
Closes-Bug: #1898950 
2020年11月18日 21:33:24 +00:00
Zuul
0c73ea3017 Merge "zuul: Add devstack-plugin-ceph-compute-local-ephemeral job" 2020年11月18日 16:14:17 +00:00
Dan Smith
914930e65e Clean up our disk image and mountpoint
We create a disk image during setup, which now gets persisted in
/etc/fstab across boots. Clean that up when we're instructed to
do a clean operation.
Depends-On: https://review.opendev.org/#/c/743007/
Change-Id: I54a6b637266c2f182eeece8942156b07581a7f0b
2020年11月09日 15:02:44 -08:00
Dan Smith
75523680ce Focal fails to add repo before key
I'm not sure why this isn't failing in the gate, but locally I get
100% fail if I don't add the release key before the apt-add-
repository. This seems to be a change in focal as it worked fine
for me before upgrade.
This moves the key fetch/add before the repo.
Change-Id: I50d840986d630af033a7a3e47bb1e9c52e889791
2020年11月09日 13:56:00 -08:00
Walter A. Boring IV
10104ab995 Update override-defaults to support ceph_iscsi
This patch updates the override-defaults to support
setting the CINDER_DRIVER, CINDER_ENABLED_BACKENDS
and CINDER_ISCSI_HELPER env vars for devstack to
ceph_iscsi if and only if ENABLE_CEPH_ISCSI is True.
This is needed by devstack lib/cinder to automatically
configure and enable ceph_iscsi as a backend.
Depends-On: https://review.opendev.org/#/c/662829/
Change-Id: I3447554343edfb5ec84ea65a521168e6d2831dfa
2020年10月15日 22:16:23 +00:00
Ivan Kolodyazhny
76496e8234 Add ceph repo key to the system
Change-Id: Ic301602c7aada2b64d119b829b6919ee93a5870f
2020年10月13日 17:23:08 +03:00
Zuul
49bae2c4d5 Merge "TrivialFix: PDF and doc corrections" 2020年10月09日 16:14:11 +00:00
Zuul
8c8b0be90b Merge "Create tox environment to build pdf documentation" 2020年10月09日 09:23:28 +00:00
Goutham Pacha Ravi
1cf06c0dee TrivialFix: PDF and doc corrections
Remove a limitation from the README that's
not relevant any more and stop rendering
the search page in the PDF.
Change-Id: I4c3409c9a6384adf0c20ab08214b866063d4dea5
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020年10月08日 15:25:43 -07:00
Lee Yarwood
1e742ac62a zuul: Add devstack-plugin-ceph-tempest-fedora-latest NV job
Given the issues introduced by I0eab8ad25112511b0c4dd4b7796b4cda821bca8b
it would be nice to have a simple RPM based job somewhere in the check
queue to avoid a repeat in the future.
Change-Id: I601b77f2da0574d38ccef7d05db4933f6fdae998
2020年10月01日 11:03:27 +01:00
Lukas Piwowarski
bc1beebf38 Create tox environment to build pdf documentation
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
Also, convert README.md to README.rst for more seamless integration
of the README file in the pdf and html documentation.
Story: 2006070
Task: 35457
Change-Id: I5c022478c9be0067c125efb4032c16cf0978330f
2020年10月01日 09:23:00 +02:00
Lee Yarwood
caf3ebeaba Do not run dnf update -y after configuring ceph repos
This isn't required with dnf and can overwrite package downgrades
working around other issues in the underlying OS.
Change-Id: I6940f06c14a0e41d63d632724e85bb790229f307
2020年09月30日 15:20:02 +01:00
Lee Yarwood
001f3a9b3a Use the py3 el8 RPMs on Fedora
As Fedora 32 has dropped py2 support we need to switch over to the py3
based el8 RPMs now. Fedora 31 can support both allowing us to switch
while still technically supporting it.
Change-Id: I79f61d61ccb044b6c24b5747b991045edf25679e
2020年09月24日 15:04:44 +01:00
Lee Yarwood
f41119e1ef dnf: Correctly configure repos
I0eab8ad25112511b0c4dd4b7796b4cda821bca8b incorrectly attempted to write
directly to the /etc/repos.d/ directory as the stack user. This isn't
possible even with sudo so use the config-manager command to import
locally written files as the stack user.
Additionally ensure there is no whitespace at the start of each line
within the files.
Change-Id: I2fbc3b7c7df90328954eb4dcee921bd2ae9b2706
2020年09月24日 14:55:42 +01:00
Victoria Martinez de la Cruz
8c194dfada Stop using shaman
Shaman packages are not stable and generates
breakages in our gates quite frequently.
Use packages available in download.ceph.com instead.
Change-Id: I0eab8ad25112511b0c4dd4b7796b4cda821bca8b
2020年09月09日 18:18:23 -03:00
Lee Yarwood
95665d8041 zuul: Add devstack-plugin-ceph-compute-local-ephemeral job
This job covers the popular usecase of not using rbd for ephemeral
storage for nova while it is used for Glance and Cinder.
This job additionally enables the recently implemented direct download
of rbd hosted Glance images into the file based ephemeral store of Nova.
Change-Id: Ieddd803fccb097657fffe30ef87c1c8385e7eb28
2020年09月03日 09:58:16 +01:00
Radosław Piliszek
6f48063468 [CI] Gate on voting jobs
Per the best practices.
Change-Id: I7896886d356a75a896660e08e2152c69534fa26f
2020年08月20日 09:17:06 +02:00