]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/fs/cephadm/multivolume: add basic multivolume test
authorSage Weil <sage@newdream.net>
Fri, 29 Jan 2021 18:46:10 +0000 (12:46 -0600)
committerSage Weil <sage@newdream.net>
Mon, 1 Feb 2021 16:50:33 +0000 (10:50 -0600)
Signed-off-by: Sage Weil <sage@newdream.net>
qa/suites/fs/cephadm/.qa [new symlink]
qa/suites/fs/cephadm/multivolume/% [new file with mode: 0644]
qa/suites/fs/cephadm/multivolume/.qa [new symlink]
qa/suites/fs/cephadm/multivolume/0-start.yaml [new file with mode: 0644]
qa/suites/fs/cephadm/multivolume/1-mount.yaml [new file with mode: 0644]
qa/suites/fs/cephadm/multivolume/2-workload/.qa [new symlink]
qa/suites/fs/cephadm/multivolume/2-workload/dbench.yaml [new symlink]
qa/suites/fs/cephadm/multivolume/distro/.qa [new symlink]
qa/suites/fs/cephadm/multivolume/distro/centos_latest.yaml [new symlink]

diff --git a/qa/suites/fs/cephadm/.qa b/qa/suites/fs/cephadm/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/fs/cephadm/multivolume/% b/qa/suites/fs/cephadm/multivolume/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/cephadm/multivolume/.qa b/qa/suites/fs/cephadm/multivolume/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/fs/cephadm/multivolume/0-start.yaml b/qa/suites/fs/cephadm/multivolume/0-start.yaml
new file mode 100644 (file)
index 0000000..4e83287
--- /dev/null
@@ -0,0 +1,39 @@
+roles:
+- - host.a
+  - osd.0
+  - osd.1
+  - osd.2
+  - osd.3
+  - client.0
+- - host.b
+  - osd.4
+  - osd.5
+  - osd.6
+  - osd.7
+  - client.1
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
+tasks:
+- install:
+- cephadm:
+    roleless: true
+- cephadm.shell:
+    host.a:
+      - ceph orch status
+      - ceph orch ps
+      - ceph orch ls
+      - ceph orch host ls
+      - ceph orch device ls
+- cephadm.shell:
+    host.a:
+      - ceph fs volume create foo
+      - ceph fs volume create bar
+- sleep:
+    interval: 60
diff --git a/qa/suites/fs/cephadm/multivolume/1-mount.yaml b/qa/suites/fs/cephadm/multivolume/1-mount.yaml
new file mode 100644 (file)
index 0000000..7136219
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+  - ceph-fuse:
+      client.0:
+        cephfs_name: foo
+  - ceph-fuse:
+      client.1:
+        cephfs_name: bar
diff --git a/qa/suites/fs/cephadm/multivolume/2-workload/.qa b/qa/suites/fs/cephadm/multivolume/2-workload/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/fs/cephadm/multivolume/2-workload/dbench.yaml b/qa/suites/fs/cephadm/multivolume/2-workload/dbench.yaml
new file mode 120000 (symlink)
index 0000000..f03efad
--- /dev/null
@@ -0,0 +1 @@
+../../../workload/tasks/workunit/suites/dbench.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/cephadm/multivolume/distro/.qa b/qa/suites/fs/cephadm/multivolume/distro/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/fs/cephadm/multivolume/distro/centos_latest.yaml b/qa/suites/fs/cephadm/multivolume/distro/centos_latest.yaml
new file mode 120000 (symlink)
index 0000000..bd9854e
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/supported/centos_latest.yaml
\ No newline at end of file