]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade: Fix/Modify upgrade tests to work with 'pacific' release.
authorSridhar Seshasayee <sseshasa@redhat.com>
Thu, 13 Jan 2022 13:27:09 +0000 (18:57 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 2 Feb 2022 05:06:30 +0000 (10:36 +0530)
This commit is not a cherry-pick and fixes the following issues unique to
the pacific release:
1. Fixes the nautilus-x and octopus-x upgrade tests to work with the
   pacific release by updating the post upgrade step to set the
   'require-osd-release' flag to 'pacific'. This is done by using
   '.qa/releases/pacific.yaml' for all the tests.
2. Fixed an issue in 'upgrade-mon-osd-mds.yaml' under both the
   nautilus-x/parallel, octopus-x/parallel-no-cephadm tests. The
   'wait-for-healthy' check should not be performed after all the osds
   are upgraded since the 'require-osd-release' warning comes into
   effect. This check is delayed until after the 'require-osd-release'
   flag is set to 'pacific'.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/suites/upgrade/nautilus-x-singleton/7-octopus.yaml [deleted symlink]
qa/suites/upgrade/nautilus-x-singleton/7-pacific.yaml [new symlink]
qa/suites/upgrade/nautilus-x/parallel/3-upgrade-sequence/upgrade-mon-osd-mds.yaml
qa/suites/upgrade/nautilus-x/parallel/4-octopus.yaml [deleted symlink]
qa/suites/upgrade/nautilus-x/parallel/4-pacific.yaml [new symlink]
qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-octopus.yaml [deleted symlink]
qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-pacific.yaml [new symlink]
qa/suites/upgrade/nautilus-x/stress-split/6-octopus.yaml [deleted symlink]
qa/suites/upgrade/nautilus-x/stress-split/6-pacific.yaml [new symlink]
qa/suites/upgrade/octopus-x/parallel-no-cephadm/3-upgrade-sequence/upgrade-mon-osd-mds.yaml

diff --git a/qa/suites/upgrade/nautilus-x-singleton/7-octopus.yaml b/qa/suites/upgrade/nautilus-x-singleton/7-octopus.yaml
deleted file mode 120000 (symlink)
index 0d329c1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../releases/octopus.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x-singleton/7-pacific.yaml b/qa/suites/upgrade/nautilus-x-singleton/7-pacific.yaml
new file mode 120000 (symlink)
index 0000000..1467fc8
--- /dev/null
@@ -0,0 +1 @@
+.qa/releases/pacific.yaml
\ No newline at end of file
index f11ad1284e18dfb1435a37889683c4515a2c21e8..3c45d765865b18917b07df195f86b6e81a1391d5 100644 (file)
@@ -43,11 +43,13 @@ upgrade-sequence:
        duration: 60
    - ceph.restart:
        daemons: [osd.8, osd.9, osd.10, osd.11]
-       wait-for-healthy: true
+       wait-for-healthy: false
+       wait-for-osds-up: true
    - sleep:
        duration: 60
    - ceph.restart:
        daemons: [rgw.*]
-       wait-for-healthy: true
+       wait-for-healthy: false
+       wait-for-osds-up: true
    - sleep:
        duration: 60
diff --git a/qa/suites/upgrade/nautilus-x/parallel/4-octopus.yaml b/qa/suites/upgrade/nautilus-x/parallel/4-octopus.yaml
deleted file mode 120000 (symlink)
index 3449838..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/releases/octopus.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x/parallel/4-pacific.yaml b/qa/suites/upgrade/nautilus-x/parallel/4-pacific.yaml
new file mode 120000 (symlink)
index 0000000..1467fc8
--- /dev/null
@@ -0,0 +1 @@
+.qa/releases/pacific.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-octopus.yaml b/qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-octopus.yaml
deleted file mode 120000 (symlink)
index 3449838..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/releases/octopus.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-pacific.yaml b/qa/suites/upgrade/nautilus-x/stress-split-erasure-code/6-pacific.yaml
new file mode 120000 (symlink)
index 0000000..1467fc8
--- /dev/null
@@ -0,0 +1 @@
+.qa/releases/pacific.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x/stress-split/6-octopus.yaml b/qa/suites/upgrade/nautilus-x/stress-split/6-octopus.yaml
deleted file mode 120000 (symlink)
index 3449838..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/releases/octopus.yaml
\ No newline at end of file
diff --git a/qa/suites/upgrade/nautilus-x/stress-split/6-pacific.yaml b/qa/suites/upgrade/nautilus-x/stress-split/6-pacific.yaml
new file mode 120000 (symlink)
index 0000000..1467fc8
--- /dev/null
@@ -0,0 +1 @@
+.qa/releases/pacific.yaml
\ No newline at end of file
index 29d2251f98b5e5adae2adc2de3085bedb254578d..9f1d20822c5e07730a078214e2b6fb39bb6a095a 100644 (file)
@@ -44,12 +44,14 @@ upgrade-sequence:
        duration: 60
    - ceph.restart:
        daemons: [osd.8, osd.9, osd.10, osd.11]
-       wait-for-healthy: true
+       wait-for-healthy: false
+       wait-for-osds-up: true
    - sleep:
        duration: 60
    - ceph.restart:
        daemons: [rgw.*]
-       wait-for-healthy: true
+       wait-for-healthy: false
+       wait-for-osds-up: true
    - sleep:
        duration: 60
    - print: "**** done upgrade-mon-osd-mds.yaml"