]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephadm: add basic nvmeof deployment test
authorAdam King <adking@redhat.com>
Fri, 28 Jul 2023 18:01:11 +0000 (14:01 -0400)
committerAdam King <adking@redhat.com>
Tue, 8 Aug 2023 14:50:16 +0000 (10:50 -0400)
Similar to what is done for iscsi, basic deployment
test to make sure we can deploy the daemon and
it comes up in running state with no issue

Signed-off-by: Adam King <adking@redhat.com>
qa/suites/orch/cephadm/smoke-roleless/2-services/nvmeof.yaml [new file with mode: 0644]

diff --git a/qa/suites/orch/cephadm/smoke-roleless/2-services/nvmeof.yaml b/qa/suites/orch/cephadm/smoke-roleless/2-services/nvmeof.yaml
new file mode 100644 (file)
index 0000000..4c5e267
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- cephadm.shell:
+    host.a:
+      - ceph osd pool create foo
+      - rbd pool init foo
+      - ceph orch apply nvmeof foo
+- cephadm.wait_for_service:
+    service: nvmeof.foo