qa/tasks/rook: add testing for host label add/rm

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>
This commit is contained in:
Joseph Sawaya 2021-09-09 15:49:52 -04:00 committed by Sage Weil
parent 571e609b27
commit 7dfbf7c9f5

View 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