From df2e42c02f2df1e126aa233f599a4286b3efa9ac Mon Sep 17 00:00:00 2001 From: Adam King Date: Fri, 4 Aug 2023 13:30:55 -0400 Subject: [PATCH] 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 --- qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml b/qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml index 3a916965909..7559885b971 100644 --- a/qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml +++ b/qa/suites/orch/cephadm/mgr-nfs-upgrade/4-final.yaml @@ -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 ]] -- 2.39.5