]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/rook: add testing for host label add/rm 42998/head
authorJoseph Sawaya <jsawaya@redhat.com>
Thu, 9 Sep 2021 19:49:52 +0000 (15:49 -0400)
committerSage Weil <sage@newdream.net>
Fri, 10 Sep 2021 14:44:20 +0000 (09:44 -0500)
This commit adds simple tests that check if the orchestrator
can add and remove labels from nodes.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
qa/suites/orch/rook/smoke/2-workload/radosbench.yaml

index fd71605c81522c75d8e9ffe0e9903c51a5eca6a7..8cfd6d9b1b76f2bc48442a93ffe2c185123ad291 100644 (file)
@@ -3,3 +3,10 @@ tasks:
     host.a:
 - radosbench:
     clients: [client.a]
+- rook.shell:
+    commands:
+        - |
+          ceph orch host label add `hostname` foo
+          ceph orch host ls | grep foo
+          ceph orch host label rm `hostname` foo
+          ceph orch host ls | grep -v foo