342 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Francesco Pantano
bf6929e775 Bump ceph version to Tentacle
Tentacle is the last Ceph release [1] and this patch bumps
devstack-plugin-ceph to deploy this version.
[1] https://docs.ceph.com/en/tentacle/
Change-Id: Id303b97d4ad6bcf1da9f0c39a113bba24a60481e
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
2025年11月29日 13:33:03 +01:00
Sean Mooney
536ebea559 move ceph jobs to debian 12
This change updates the nodeset for the ceph jobs to use
debian 12 to avoid ubuntu packaging issues on noble.
Related-Bug: #2116852
Change-Id: I5f119862ed240c71cdd817466df5764271df656b
Signed-off-by: Sean Mooney <work@seanmooney.info>
2025年07月24日 15:41:18 +00:00
Francesco Pantano
1b3afd66c4 Deploy rbd-mirror daemon
It is possible to setup one way or two way replication between pools.
rbd-mirror daemon is responsible for pulling image updates from the
remote peer cluster and applying them to the image within the local
cluster. This patch allows to enable this daemon as part of the
deployment, but the actual configuration between sites remains out
of scope for the deployment script.
This work aims to support [1].
[1] https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/948293
Change-Id: Id1a66c244b9be33b6df63e6504500c77d59a1b9d
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
2025年05月06日 09:54:16 +02:00
Zuul
f28dc932b6 Merge "Bump default ceph version to squid" 2025年04月16日 20:00:12 +00:00
Francesco Pantano
9820be3293 Bump default ceph version to squid
Ceph Squid was released on 2024年09月26日. It's the
latest supported release, and EOL is planned in
2026-09. [1]
This roughly corresponds to the support timeline
for OpenStack 2025.1 ("Epoxy") and 2025.2 ("Flamingo")[2].
We could plan to change the default version tested
again when Ceph's Tentacle release arrives (estimated: late '25).
[1] https://docs.ceph.com/en/latest/releases/#active-releases
[2] https://releases.openstack.org/
Depends-On: I11a3c8f573e5540840a23459d698197a9c3a8f4c
Change-Id: If6009392198b1d9e9c35e4fabae344a550a07796
2025年04月01日 19:41:11 +00:00
Zuul
d42fe458e8 Merge "Disable Ingress" 2025年03月21日 22:48:01 +00:00
ashrod98
1100aa6f0a Disable Ingress
Adds option to enable/disable ingress for ceph verisons >18
Change-Id: I5f03698ed09ff906488711d5d5a6feb74146b6ca
2025年03月21日 14:23:14 +00:00
Rajat Dhasmana
da3595ed3f Tempest: Allow extend attached encrypted volume tests
This patch allows running the test_extend_attached_encrypted_volume_luksv1
in tempest for ceph jobs.
Depends-On: https://review.opendev.org/c/openstack/devstack/+/942724
Change-Id: I63cfd43327a58bf9e9df29681a10f3b113795e07
2025年02月26日 00:58:34 +05:30
Eric Harney
e29051fd9c Set osd memory config
Still seeing oom-killer trigger in Cinder Ceph CI
jobs with ceph-osd being a top memory consumer.
It appears to default to trying to use 4GB of memory,
change this to 2GB to see if it helps.
Increases the job timeout to 3h for a bit more
headroom since jobs are regularly taking more than 2h
to complete.
Change-Id: I71a46a452914256f36299623a29ed7eebf8e61d2
2025年02月03日 14:38:42 -05:00
Zuul
336ad85c9c Merge "Fix multinode CI" 2024年12月12日 19:22:08 +00:00
ashrod98
3d20807743 Fix multinode CI
Set Ceph_ingress_ip to host_ip, changing from ipv6 to ipv4
Partial-Bug: 2082617
Change-Id: I40d222129331c5798eaee0c129c236c13ffbcf50
2024年12月11日 15:18:59 +00:00
Carlos Eduardo
ce843ac60a Fix lacking ceph ingress IP on devstack
When the Ceph ingress IP is not set, devstack is currently failing
to install with CephFS NFS. When it attempts to create the NFS
cluster, it fails because the VIP value is not set.
The VIP should be the same as the ceph ingress IP, but it is only
being set in the manila job definitions, so if you don't provide
it in the local.conf file manually, the value will be empty.
This change fixes it by defaulting the ceph ingress IP to the
host IP in case it wasn't provided in the local.conf.
Change-Id: Ib2db0faa5381da9e3d391ff0f887eb92dff9c295
Signed-off-by: Carlos Eduardo <ces.eduardo98@gmail.com>
2024年11月13日 16:10:53 -03:00
ashrod98
13b0cf0818 Follow Up Patch Fix Ingress Deamon
Remove MDS_LOG=True in job declaration
Depends-On: Ib4a4479d5214f6c3a01ca1bd6301e44658bfec50
Change-Id: Ie0e174ae8cc21ce42c6d672e397028703357c4aa
2024年09月16日 20:20:20 +00:00
Goutham Pacha Ravi
784716d949 Drop support for package based installation of Ceph
This mode of deployment isn't supported by the Ceph
community, and was always a chimera that we were
feeding/maintaining.
Ceph's tool of choice to bootstrap and install a ceph
cluster is by using the Ceph Orchestrator (via the
cephadm tool).
We're also cleaning up the old/unused and poorly tested
"CONTAINERIZED_CEPH". When using ceph orchestrator,
ceph daemons are run within podman containers on the
devstack host.
Change-Id: I5f75cb829383d7acd536e24c70cc4418d93c13bc
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年09月12日 14:05:38 +00:00
Goutham Pacha Ravi
c96d07cada Skip tempest image format tests
These tests are failing at the moment; I noticed
they're being skipped elsewhere pending investigation.
Change-Id: Ib0328fe8d69204c1213c2c07bc1648bcfd236a31
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年09月11日 18:51:36 +00:00
Zuul
3f9e35a965 Merge "Delete package-based-installation test jobs" 2024年08月08日 22:08:44 +00:00
Zuul
62c5b084cb Merge "Standalone nfs-ganesha with cephadm deployment" 2024年08月08日 20:00:20 +00:00
Goutham Pacha Ravi
51dcb8cf97 Delete package-based-installation test jobs
We're going to drop support for installing ceph
via packages or container images. This repository
will only support cephadm going forward.
Change-Id: Ic4f4c151854424ad9e5e01f9618a94508e977d51
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年08月08日 17:31:23 +00:00
Goutham Pacha Ravi
ca2486efb4 Standalone nfs-ganesha with cephadm deployment
Manila supports using a standalone NFS-Ganesha server
as well as a ceph orchestrator deployed NFS-Ganesha cluster
("ceph nfs service"). We've only ever allowed using
ceph orch deployed NFS with ceph orch deployed clusters
through this devstack plugin. With this change,
the plugin can optionally deploy a standalone
NFS-Ganesha service with a ceph orch deployed
ceph cluster. This will greatly simplify testing when we sunset
the package based installation/deployment of ceph.
Depends-On: I2198eee3892b2bb0eb835ec66e21b708152b33a9
Change-Id: If983bb5d5a5fc0c16c1cead84b5fa30ea961d21b
Implements: bp/cephadm-deploy
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年07月30日 22:34:03 +00:00
Zuul
5deabcec6f Merge "Fix ingress deamon" 2024年07月18日 20:50:49 +00:00
Carlos Eduardo
03d84f1316 [manila] Enforce cephfsnative as the default driver
During the devstack setup, if you have set `CEPHADM_DEPLOY=True`,
we are not considering cephfsnative as the default driver, even
though it was the expected behavior before.
If we do not set this flag and it is not set in the local.conf,
the devstack setup fails.
That is fixed by enforcing `cephfsnative` as the default value for
the Ceph backend. In case users want to deploy devstack with Ceph
NFS, they can continue using the same workflow (setting
`MANILA_CEPH_DRIVER=cephfsnfs`).
Change-Id: I51660fa2466fff873f2230e683661b53874bf862
Signed-off-by: Carlos Eduardo <ces.eduardo98@gmail.com>
2024年06月24日 18:51:19 -03:00
Ghanshyam Mann
3683eb293c Skip slow marked tests in devstack-plugin-ceph-tempest-py3
devstack-plugin-ceph-tempest-py3 is timeout consistently and
one of the reason can be it run the slow marked tests also.
All integrated jobs runs slow marked tests in separate job.
Skipping the slow tests in this job and devstack-plugin-ceph-multinode-tempest-py3
already cover them so no need to add a separate job.
Change-Id: I0a80a107dfbe9690bc173a8a2ed872de53dcf995
2024年06月21日 12:47:03 -07:00
ashrod98
ca3784609f Fix ingress deamon
Fixes ingress deamon, for 18.0+ Ceph versions
by setting correct VIP.
Ingress daemon was added in Caracal, and when
backported to Bobcat encountered CI failures.
In this patch I've added verbose MDS logging
capabilities, and fixed the failures that were
present in Bobcat stable CI, cephfs-nfs-cephadm
job. History is in patchset 908940.
Resubmititng starting at master to backport
to stable branches in the correct order.
Depends-On: I5b7fd5b2b557203189c25fa2a988d790e7fda3eb
Change-Id: Ia1671de5c770d1cf5a3cd58e05fe5204f5bbc3c6
2024年06月12日 16:32:46 +00:00
Zuul
13f94aaaf2 Merge "Add service secret to libvirt when cinder enabled" 2024年05月13日 21:31:47 +00:00
Goutham Pacha Ravi
6e0ab534c0 Set CephFS/NFS job to non-voting
This job is non-voting against the manila repos currently.
We've observed sporadic failures in data intensive scenario
tests. There are a number of manila tests that write a few
gigabytes of data onto mounted shares. While we've tried
to optimize test concurrency and the kind of data being written,
sometimes, things seem to fall over and a test case runs into
a generic I/O error. So maybe more work is necessary to
get this job to be stable; but that work may not be in this
devstack plugin repository.
Change-Id: Id89f161ba6dd5b5fbb5b82042a3e94c92797a881
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年03月05日 09:38:39 -08:00
Goutham Pacha Ravi
24d9517b78 Fix cephadm binary URL to the numeric ceph version
download.ceph.com used to maintain named versions of ceph
releases, which were hardlinked folders corresponding
to the latest minor release from a stable branch; we've noticed
that these folders can be deleted. Let's instead look for
cephadm under the corresponding numeric release tag folder.
Change-Id: Ic39b48fb2dd48f47d5b3c6165e4f4c6b1c47cc7d
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年03月04日 19:07:16 +00:00
Zuul
b513540955 Merge "Add ingress deamon" 2024年02月06日 19:40:02 +00:00
ashrod98
a42ee1269b Add ingress deamon
Adds ingress deamon, for 18.0+ Ceph versions
Change-Id: Ic345784873161df2326344c8993f5691fbadb40c
Depends-On: Idf15ccf996eb6cdc05a960bdc6411f6fdb9e5fea
Depends-On: I85ad659bf1ad36cb5340a53cd57603451fc77147
2024年02月02日 15:37:47 +00:00
Ashley Rodriguez
c7fb07d479 Bump to Reef
Bumps ceph versions to Reef to enable ingress service deployments.
Change-Id: I85ad659bf1ad36cb5340a53cd57603451fc77147
2024年02月02日 10:37:09 -05:00
Francesco Pantano
4c22c3d090 Add os_release variable to get the right cephadm version
For releases older than reef (e.g., octopus, pacific), packages are not
always available under the el9 subdirectory.
This patch introduces a switch case to make sure we're able to match the
right version of cephadm.
Change-Id: I0ee37b832f1ea47961528f074f2d42492b0ac755
2023年12月11日 09:35:37 +01:00
Goutham Pacha Ravi
7b209845d5 Update default ceph image tag to remove patch version
Ceph release tags adhere to a versioning scheme x.y.z [1], where:
- x = major release number (e.g.: quincy is 17, reef is 18)
- y = 1 or 2, where 1 is an release candidate, and 2 is a stable release
- z = patch/updates
We shouldn't hardcode a patch version in the default container
image we're fetching in our jobs, unless absolutely necessary
for some bugfix/feature that we rely on.
[1] https://docs.ceph.com/en/latest/releases/general/
Related-Bug: #1989273
Change-Id: Iea541d2edefc871bcac2d965997c88462fcbe521
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023年10月23日 12:26:01 -07:00
ashrod98
120041215c Revert bad rebase
Reverting a bad rebase to fix cephadm binary source
Also adds catatonit to rpms file to fix CI issues
Change-Id: Ie1b1dc0ef2508eae38ae7954fb0bb62653780644
2023年10月13日 17:21:55 +00:00
Ashley Rodriguez
b663a9fb83 Remote Ceph with cephadm
Add podman ceph-common and jq as part of preinstall dependency.
Add REMOTE_CEPH capabilities to CEPHADM deployment.
Removed set_min_client only if cinder is enabled, this should be set
in any case.
Get FSID from ceph.conf in /etc/ceph to avoid unnecessary override.
Part of an effort to test multinode deployments with cephadm.
Needed-By: I5162815b66d3f3e8cf8c1e246b61b0ea06c1a270
Change-Id: I84249ae268dfe00a112c67e5170b679acb318a25
2023年09月12日 20:51:41 +00:00
Zuul
f493a2b408 Merge "Replace deprecated terms" 2023年08月14日 11:53:36 +00:00
Zuul
491c0b9293 Merge "[CI] Drop overrides in cephfs-nfs job" 2023年08月07日 22:01:26 +00:00
Zuul
95b230b1ff Merge "Update location of cephadm script" 2023年08月01日 21:27:29 +00:00
Katarina Strenkova
8ae707f234 Replace deprecated terms
Following up on	the usage of inclusive jargon [1] and to ensure
consistency in code, there is a need to replace deprecated term
tempest_test_blacklist with a new term tempest_test_exclude_list.
[1] https://review.opendev.org/c/openstack/tempest/+/768583
Change-Id: I1692876c9d42b3ac857fdb61dcdc2caa61cd349d
2023年07月27日 13:50:11 +02:00
Goutham Pacha Ravi
d1433e6408 Update location of cephadm script
We don't need to get cephadm from the source tree.
The ceph community publishes this binary on download.ceph.com [1]
[1] https://docs.ceph.com/en/latest/cephadm/install/#curl-based-installation
Change-Id: I9c1f46b15a03768aa92803e7c51522c3553b1595
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023年07月19日 12:48:51 -07:00
Zuul
bdce6ce508 Merge "Drop Fedora support" 2023年07月18日 11:45:39 +00:00
Zuul
fab466e73c Merge "Update default ceph version to "quincy"" 2023年07月17日 21:02:45 +00:00
Dan Smith
c4d753d37a Unskip rebuild_volume_backed_server test
This was actually due to a too-strict-for-AIO-machines default timeout,
which is bumped in the dependent patch.
Closes-Bug: #2025096
Depends-On: https://review.opendev.org/c/openstack/devstack/+/887110
Change-Id: I5b852797dc05f1de55a2b294289938b9962c38e1
2023年06月27日 12:18:56 -07:00
Ghanshyam Mann
10670ac532 Skip test_rebuild_volume_backed_server test for ceph job
There is some issue in ceph job while password injection
during rebuid and due to that test is failing 100% failure
- https://b932a1446345e101b3ef-4740624f0848c8c3257f704064a4516f.ssl.cf5.rackcdn.com/883557/2/check/nova-ceph-multistore/d7db64f/testr_results.html
Skip test to unblock the gate for now and we can unskip it once
issue it fixed.
Related-Bug: #2025096
Change-Id: Ica868be8ff0e1795d8de204640045691b0261b29
2023年06月26日 22:43:34 +00:00
jskunda
a7f2662a81 Drop Fedora support
We are about to drop Fedora support as the latest image in upstream
has been transitioned to EOL. Centos 9 Stream has evolved as replacement
platform for new features. Review which deletes nodeset from devstack:
https://review.opendev.org/c/openstack/devstack/+/885467
Change-Id: I3b1bece44b9ad2f4bf4d822f261b141ddf3031fd
2023年06月21日 23:45:03 +02:00
Gorka Eguileor
a89fb90b63 Add service secret to libvirt when cinder enabled
The current code only adds the service secret to libvirt when Ceph has
been enabled in Nova, but it should also be enabled if it has only been
enabled in Cinder.
This patch changes devstack/plugin.sh to write the service secret to
libvirt whenever Nova or Cinder is using Ceph.
This would be the counterpart of the code we already have in
_undefine_virsh_secret where we are already checking if it's enabled in
either of the services to remove the secret.
Change-Id: I1067d52b7a435fcef7996eea6479d598be842dca
2023年06月07日 17:51:50 +02:00
Goutham Pacha Ravi
6c11c78631 Update default ceph version to "quincy"
Affects only the package based install script.
Pacific is going to be EOL'ed soon [1], we do not
expect folks to deploy the next version of OpenStack
(2023.2/Bobcat) with Ceph Pacific; moreover, all our
CI jobs are using Quincy by default, and the cephadm
script uses quincy by default.
[1] https://docs.ceph.com/en/latest/releases/index.html#active-releases
Change-Id: I6abdb1241e99d76bcee35b331e1059c4fe48296b
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023年05月17日 13:35:09 -07:00
Dan Smith
bf4598d923 Enable validation and disable block-migration
On the multinode job we need to enable validation like the base job
and also disable block migration for live migration that we get from
our parent job.
Change-Id: I076527536e19f7fa2c0cd177bebb1df22db51a0a
2023年05月11日 11:45:10 -07:00
Zuul
d1c7a2db8b Merge "Run the native CephFS job with cephadm" 2023年05月10日 17:06:16 +00:00
Goutham Pacha Ravi
09c3caa13d [CI] Drop overrides in cephfs-nfs job
The overrides in "devstack-plugin-ceph-cephfs-nfs"
are being applied to the parent job, so they
can be removed here.
Depends-On: I6abf7a8eb275c5b29cfe29b3a0f54de76c5bb1e8
Change-Id: I35ebd069399d3a8d8e2bb56542a01993914b1d73
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023年05月08日 17:53:57 -07:00
Dr. Jens Harbott
41b6a8c227 Revert "Temporary pin the ceph jobs nodeset to Focal"
This reverts commit 863a01b032.
Partial revert only for the pin to focal, leaves the broken other jobs
commented out.
Update paste-deploy workaround to be used always.
Add qemu-block-extra and podman deps to the debs list.
Running on the newer ceph and distro causes some quite different
performance characteristics that cause tests that used to pass to fail
more often. This includes some performance optimizations to help
reduce the memory footprint, as well as depends on changes to
tempest tests to improve the reliability of those tests by enabling
validation via SSH.
This also moves the cephadm job to be the voting/gating job as that
seems to be the clear consensus about "the future" of how we deploy
ceph for testing.
Depends-On: https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/881764
Co-Authored-By: Dan Smith <dms@danplanet.com>
Change-Id: I899822fec863f43cd6c58b25cf4688c6a3ac1e9b
2023年05月03日 12:06:27 -07:00
Goutham Pacha Ravi
ef8898fd8a Run the native CephFS job with cephadm
Package based deployment of ceph isn't a Ceph-community
supported deployment strategy. We are trying to migrate
to using cephadm orchestrated ceph in the CI one job
at a time. See [1]
[1] https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/865315/11
Depends-On: I66ac85b735566f8f7dd75234eb8e0be7773fee3a
Change-Id: I21688daa7ac21eb395897daba61a5fdba2697b5f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023年04月27日 02:35:33 +00:00