summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2024-12-22 23:56:28 +0100
committerGitHub <noreply@github.com>2024-12-22 23:56:28 +0100
commit610a87a1d84f3e473638ed0537dad51795ba25fa (patch)
treedc248bfdb18f9f7eab0b8001f75670306ee4f89d /qa
parentMerge pull request #61150 from idryomov/wip-69319 (diff)
parentrbd: drop --pool option from "rbd group image {add,rm}" (diff)
downloadceph-610a87a1d84f3e473638ed0537dad51795ba25fa.tar.xz
ceph-610a87a1d84f3e473638ed0537dad51795ba25fa.zip
Merge pull request #61155 from idryomov/wip-69324
rbd: handle --{group,image}-namespace in "rbd group image {add,rm}" Reviewed-by: Ramana Raja <rraja@redhat.com>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/rbd/cli_generic.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/workunits/rbd/cli_generic.sh b/qa/workunits/rbd/cli_generic.sh
index 2aa27d3d655..0ceb9ff54cf 100755
--- a/qa/workunits/rbd/cli_generic.sh
+++ b/qa/workunits/rbd/cli_generic.sh
@@ -914,6 +914,11 @@ test_namespace() {
rbd group create rbd/test1/group1
rbd group image add rbd/test1/group1 rbd/test1/image1
+ rbd group image add --group-pool rbd --group-namespace test1 --group group1 \
+ --image-pool rbd --image-namespace test1 --image image2
+ rbd group image rm --group-pool rbd --group-namespace test1 --group group1 \
+ --image-pool rbd --image-namespace test1 --image image1
+ rbd group image rm rbd/test1/group1 rbd/test1/image2
rbd group rm rbd/test1/group1
rbd trash move rbd/test1/image1