From acd6b512d5589da7bc00883348ebd79173053119 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 7 Aug 2023 10:15:18 +0200 Subject: [PATCH] e2e: add --yes-i-really-mean-it for pool creation in recent ceph version .nfs pool creation is failing, as we are sure about creating the pools in the e2e tests, tring to create the pool with required extra agruments to make it successful. Signed-off-by: Madhu Rajanna --- e2e/rbd_helper.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/rbd_helper.go b/e2e/rbd_helper.go index e72e4548388..20731f416df 100644 --- a/e2e/rbd_helper.go +++ b/e2e/rbd_helper.go @@ -827,13 +827,13 @@ func createPool(f *framework.Framework, name string) error { pgCount = 128 size = 1 ) - // ceph osd pool create replicapool - cmd := fmt.Sprintf("ceph osd pool create %s %d", name, pgCount) + // ceph osd pool create name + cmd := fmt.Sprintf("ceph osd pool create %s %d --yes-i-really-mean-it", name, pgCount) _, _, err := execCommandInToolBoxPod(f, cmd, rookNamespace) if err != nil { return err } - // ceph osd pool set replicapool size 1 + // ceph osd pool set name size 1 cmd = fmt.Sprintf("ceph osd pool set %s size %d --yes-i-really-mean-it", name, size) _, _, err = execCommandInToolBoxPod(f, cmd, rookNamespace)