From 1375b48e8d9482eb47e829bf3ae8ffe1398a869e Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Wed, 11 Mar 2026 17:28:22 +0530 Subject: [PATCH] qa: Add nvmeof upgrade from v20.2.0 Also update install task for nvmeof/upgrade test Fixes: https://tracker.ceph.com/issues/75453 Signed-off-by: Vallari Agrawal (cherry picked from commit 6dc6aeb798217f02a375d9ba2252b473c50b73f7) --- .../0-clusters/4-gateways-1-initiator.yaml | 4 --- .../1-start-centos_9.stream-squid.yaml | 10 +++++++ .../1-start-centos_9.stream-v20.2.0.yaml | 28 +++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-v20.2.0.yaml diff --git a/qa/suites/nvmeof/upgrade/0-clusters/4-gateways-1-initiator.yaml b/qa/suites/nvmeof/upgrade/0-clusters/4-gateways-1-initiator.yaml index 76f245fdcddb..c5c80dfed07d 100644 --- a/qa/suites/nvmeof/upgrade/0-clusters/4-gateways-1-initiator.yaml +++ b/qa/suites/nvmeof/upgrade/0-clusters/4-gateways-1-initiator.yaml @@ -26,7 +26,3 @@ roles: - client.4 - ceph.nvmeof.nvmeof.d -tasks: -- install: - extra_packages: - - nvme-cli diff --git a/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-squid.yaml b/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-squid.yaml index 8e3b778a1f90..58a19615f5c4 100644 --- a/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-squid.yaml +++ b/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-squid.yaml @@ -2,6 +2,16 @@ os_type: centos os_version: "9.stream" tasks: +- install: + branch: squid-nvmeof + exclude_packages: + - ceph-volume + - ceph-osd-classic + - ceph-osd-crimson + extra_packages: + - nvme-cli +- print: "**** done install task..." + - cephadm: image: quay.ceph.io/ceph-ci/ceph:squid-nvmeof compiled_cephadm_branch: squid-nvmeof diff --git a/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-v20.2.0.yaml b/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-v20.2.0.yaml new file mode 100644 index 000000000000..121a80ac03c5 --- /dev/null +++ b/qa/suites/nvmeof/upgrade/1-start-distro/1-start-centos_9.stream-v20.2.0.yaml @@ -0,0 +1,28 @@ +os_type: centos +os_version: "9.stream" + +tasks: +- install: + tag: v20.2.0 + exclude_packages: + - ceph-volume + - ceph-osd-classic + - ceph-osd-crimson + extra_packages: + - nvme-cli +- print: "**** done install task..." + +- cephadm: + image: quay.io/ceph/ceph:v20.2.0 + +- nvmeof: + installer: host.a + rbd: + pool_name: mypool + image_name_prefix: myimage + gateway_config: + subsystems_count: 3 + namespaces_count: 20 + +- cephadm.wait_for_service: + service: nvmeof.mypool.mygroup0 -- 2.47.3