[CI] Fix cephfs-nfs job by running on centos-stream-9

Package based installation of ceph via devstack-plugin-ceph
is deprecated. Recently, we broke support for Ubuntu 20.04 LTS
(Focal Fossa) [1] because we're trying to advance all OpenStack
CI jobs to Ubuntu 22.04/Jammy Jellyfish or Centos Stream 9. The
community's plan is to retire package based installation of ceph
on devstack during the 2023.2/Bobcat release cycle, and move all
efforts onto "cephadm" [2].

With CephFS/NFS, cephadm deployment works, but seems to require
more CI resources than a single test node can afford. So, we're
working in parallel to create a multi-node job [3][4] to ensure more
stable testing without foregoing coverage. As a temporary workaround,
we can run the ceph-nfs job (which doesn't use cephadm) on
centos-9 stream.

Unfortunately, ipv6 testing would have to be turned off because of
LP bug #1998489. We'll remedy this separately.

[1] https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/865315
[2] https://docs.ceph.com/en/quincy/cephadm/index.html
[3] https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/876747
[4] https://review.opendev.org/c/openstack/manila/+/869235

Change-Id: I6abf7a8eb275c5b29cfe29b3a0f54de76c5bb1e8
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
Goutham Pacha Ravi
2023-05-08 17:49:31 -07:00
parent ad0db6359c
commit 7afdada46d

View File

@@ -416,7 +416,6 @@
- job:
name: manila-tempest-plugin-cephfs-nfs-base
nodeset: openstack-single-node-focal
abstract: true
description: Test CephFS NFS (DHSS=False)
parent: manila-tempest-plugin-base
@@ -475,6 +474,20 @@
description: Test CephFS NFS (DHSS=False)
parent: manila-tempest-plugin-cephfs-nfs-base
branches: *ubuntu_jammy_test_image_branches
nodeset: devstack-single-node-centos-9-stream
vars:
# TODO(gouthamr): some tests are disabled due to bugs
# IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
# snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
tempest_exclude_regex: "\
(^manila_tempest_tests.tests.scenario.*IPv6.*)|\
(^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
devstack_localrc:
MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
CEPH_RELEASE: "quincy"
MANILA_SETUP_IPV6: false
NEUTRON_CREATE_INITIAL_NETWORKS: true
IP_VERSION: 4
- job:
name: manila-tempest-plugin-dummy-no-dhss