Skip to content

Commit df2e42c

Browse files
committed
qa/cephadm: mgr-nfs-upgrade, match any migration > 2
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 <[email protected]>
1 parent adb1aee commit df2e42c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ tasks:
77
- ceph nfs cluster ls | grep foo
88
- ceph nfs export ls foo --detailed
99
- rados -p .nfs --all ls -
10-
- ceph config get mgr mgr/cephadm/migration_current | grep 6
10+
- cephadm.shell:
11+
host.a:
12+
- |
13+
set -ex
14+
[[ `ceph config get mgr mgr/cephadm/migration_current` -gt 2 ]]

0 commit comments

Comments
 (0)