]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: upgrade sub-suite upgraded_client from from n-1|n-2 releases
authorDhairya Parmar <dparmar@redhat.com>
Tue, 30 Apr 2024 11:09:19 +0000 (16:39 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2024 15:29:08 +0000 (17:29 +0200)
... and move to centos9.

Fixes: https://tracker.ceph.com/issues/65580
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 76589659480c6e9cd2ad09b3be21deeb6d1686d1)

 Conflicts:
qa/suites/fs/upgrade/upgraded_client/tasks/0-from/nautilus.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/0-install.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/0-install/quincy.yaml

(cherry picked from commit 329c440eec172401c3b58646b44d415628148ec3)

qa/suites/fs/upgrade/upgraded_client/centos_8.yaml [deleted symlink]
qa/suites/fs/upgrade/upgraded_client/centos_9.stream.yaml [new symlink]
qa/suites/fs/upgrade/upgraded_client/tasks/0-from/nautilus.yaml [deleted file]
qa/suites/fs/upgrade/upgraded_client/tasks/0-from/pacific.yaml [deleted file]
qa/suites/fs/upgrade/upgraded_client/tasks/0-install/quincy.yaml [new file with mode: 0644]
qa/suites/fs/upgrade/upgraded_client/tasks/2-clients/fuse-upgrade.yaml

diff --git a/qa/suites/fs/upgrade/upgraded_client/centos_8.yaml b/qa/suites/fs/upgrade/upgraded_client/centos_8.yaml
deleted file mode 120000 (symlink)
index 5dceec7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/distros/supported/centos_8.stream.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/upgrade/upgraded_client/centos_9.stream.yaml b/qa/suites/fs/upgrade/upgraded_client/centos_9.stream.yaml
new file mode 120000 (symlink)
index 0000000..dc442c2
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/all/centos_9.stream.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/upgrade/upgraded_client/tasks/0-from/nautilus.yaml b/qa/suites/fs/upgrade/upgraded_client/tasks/0-from/nautilus.yaml
deleted file mode 100644 (file)
index 02f541e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-meta:
-- desc: |
-   install ceph/nautilus latest
-tasks:
-- install:
-    branch: nautilus
-    exclude_packages:
-      - cephadm
-      - ceph-mgr-cephadm
-      - ceph-immutable-object-cache
-      - python3-rados
-      - python3-rgw
-      - python3-rbd
-      - python3-cephfs
-      - ceph-volume
-    extra_packages:
-      - python-rados
-      - python-rgw
-      - python-rbd
-      - python-cephfs
-    # For kernel_untar_build workunit
-    extra_system_packages:
-      - bison
-      - flex
-      - elfutils-libelf-devel
-      - openssl-devel
-      - NetworkManager
-      - iproute
-      - util-linux
-- print: "**** done installing nautilus"
-- ceph:
-    log-ignorelist:
-      - overall HEALTH_
-      - \(FS_
-      - \(MDS_
-      - \(OSD_
-      - \(MON_DOWN\)
-      - \(CACHE_POOL_
-      - \(POOL_
-      - \(MGR_DOWN\)
-      - \(PG_
-      - \(SMALLER_PGP_NUM\)
-      - Monitor daemon marked osd
-      - Behind on trimming
-      - Manager daemon
-    conf:
-      global:
-        mon warn on pool no app: false
-        ms bind msgr2: false
-- exec:
-    osd.0:
-      - ceph osd set-require-min-compat-client nautilus
-- print: "**** done ceph"
diff --git a/qa/suites/fs/upgrade/upgraded_client/tasks/0-from/pacific.yaml b/qa/suites/fs/upgrade/upgraded_client/tasks/0-from/pacific.yaml
deleted file mode 100644 (file)
index defb039..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-meta:
-- desc: |
-   install ceph/pacific latest
-tasks:
-- install:
-    branch: pacific
-    exclude_packages:
-      - cephadm
-      - ceph-mgr-cephadm
-      - ceph-immutable-object-cache
-      - python3-rados
-      - python3-rgw
-      - python3-rbd
-      - python3-cephfs
-      - ceph-volume
-    extra_packages:
-      - python-rados
-      - python-rgw
-      - python-rbd
-      - python-cephfs
-    # For kernel_untar_build workunit
-    extra_system_packages:
-      - bison
-      - flex
-      - elfutils-libelf-devel
-      - openssl-devel
-      - NetworkManager
-      - iproute
-      - util-linux
-- print: "**** done installing pacific"
-- ceph:
-    log-ignorelist:
-      - overall HEALTH_
-      - \(FS_
-      - \(MDS_
-      - \(OSD_
-      - \(MON_DOWN\)
-      - \(CACHE_POOL_
-      - \(POOL_
-      - \(MGR_DOWN\)
-      - \(PG_
-      - \(SMALLER_PGP_NUM\)
-      - Monitor daemon marked osd
-      - Behind on trimming
-      - Manager daemon
-    conf:
-      global:
-        mon warn on pool no app: false
-        ms bind msgr2: false
-- exec:
-    osd.0:
-      - ceph osd set-require-min-compat-client pacific
-- print: "**** done ceph"
diff --git a/qa/suites/fs/upgrade/upgraded_client/tasks/0-install/quincy.yaml b/qa/suites/fs/upgrade/upgraded_client/tasks/0-install/quincy.yaml
new file mode 100644 (file)
index 0000000..356f877
--- /dev/null
@@ -0,0 +1,53 @@
+meta:
+- desc: |
+   install ceph/quincy latest
+tasks:
+- install:
+    branch: quincy
+    exclude_packages:
+      - cephadm
+      - ceph-mgr-cephadm
+      - ceph-immutable-object-cache
+      - python3-rados
+      - python3-rgw
+      - python3-rbd
+      - python3-cephfs
+      - ceph-volume
+    extra_packages:
+      - python-rados
+      - python-rgw
+      - python-rbd
+      - python-cephfs
+    # For kernel_untar_build workunit
+    extra_system_packages:
+      - bison
+      - flex
+      - elfutils-libelf-devel
+      - openssl-devel
+      - NetworkManager
+      - iproute
+      - util-linux
+- print: "**** done installing quincy"
+- ceph:
+    log-ignorelist:
+      - overall HEALTH_
+      - \(FS_
+      - \(MDS_
+      - \(OSD_
+      - \(MON_DOWN\)
+      - \(CACHE_POOL_
+      - \(POOL_
+      - \(MGR_DOWN\)
+      - \(PG_
+      - \(SMALLER_PGP_NUM\)
+      - Monitor daemon marked osd
+      - Behind on trimming
+      - Manager daemon
+    conf:
+      global:
+        mon warn on pool no app: false
+        ms bind msgr2: false
+- exec:
+    osd.0:
+      - ceph osd set-require-min-compat-client quincy
+- print: "**** done ceph"
\ No newline at end of file
index cb8ac4d4f2d1259caaa551128d100764a48a1483..bed83610ff00471926edac9aaa88e376a9fda451 100644 (file)
@@ -1,13 +1,4 @@
 teuthology:
-  premerge: |
-            local branch = yaml.teuthology.branch
-            if tostring(branch) == "nautilus" then
-              yaml_fragment['tasks'][2]['install.upgrade']['client.0']['branch'] = "pacific"
-            elseif tostring(branch) == "pacific" then
-              yaml_fragment['tasks'][2]['install.upgrade']['client.0']['branch'] = "reef"
-            else
-              error("invalid source branch")
-            end
   postmerge:
     - if not is_fuse() then reject() end
 tasks:
@@ -17,7 +8,6 @@ tasks:
 - print: "**** done unmount client.0"
 - install.upgrade:
     client.0:
-      branch: []
 - print: "**** done install.upgrade on client.0"
 - ceph.healthy:
 - ceph-fuse: