]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephadm: mgr-nfs-upgrade, match any migration > 2 52815/head
authorAdam King <adking@redhat.com>
Fri, 4 Aug 2023 17:30:55 +0000 (13:30 -0400)
committerAdam King <adking@redhat.com>
Mon, 8 Jan 2024 15:07:03 +0000 (10:07 -0500)
I believe this check was originally added because
the 2->3 migration migrated some nfs related bits. Since
then we've had to update the migration this checks
for every time we bump the max migration. This change
is intended to instead just have it check for a
miration > 2 so we don't have to keep updating it.

Signed-off-by: Adam King <adking@redhat.com>
qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml

index 3a91696590902044128feed44db3375a52127fa5..7559885b971513ff3f46b2d0797c4450ed4513bc 100644 (file)
@@ -7,4 +7,8 @@ tasks:
       - ceph nfs cluster ls | grep foo
       - ceph nfs export ls foo --detailed
       - rados -p .nfs --all ls -
-      - ceph config get mgr mgr/cephadm/migration_current | grep 6
+- cephadm.shell:
+    host.a:
+      - |
+        set -ex
+        [[ `ceph config get mgr mgr/cephadm/migration_current` -gt 2 ]]