]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: convert fs:workload to use cephadm
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 24 Jun 2021 03:37:02 +0000 (20:37 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 10 Feb 2022 17:35:45 +0000 (12:35 -0500)
Note: it's important to keep the install task which supplies packages
needed for some workloads.

Fixes: https://tracker.ceph.com/issues/51333
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 405bb2e48e5914e4b849bca5cb32660f13c4a00a)

qa/suites/fs/workload/begin [deleted symlink]
qa/suites/fs/workload/begin/+ [new file with mode: 0644]
qa/suites/fs/workload/begin/.qa [new symlink]
qa/suites/fs/workload/begin/0-install.yaml [new symlink]
qa/suites/fs/workload/begin/1-cephadm.yaml [new file with mode: 0644]
qa/suites/fs/workload/begin/2-logrotate.yaml [new symlink]

diff --git a/qa/suites/fs/workload/begin b/qa/suites/fs/workload/begin
deleted file mode 120000 (symlink)
index 77af91f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/cephfs/begin/
\ No newline at end of file
diff --git a/qa/suites/fs/workload/begin/+ b/qa/suites/fs/workload/begin/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/workload/begin/.qa b/qa/suites/fs/workload/begin/.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/workload/begin/0-install.yaml b/qa/suites/fs/workload/begin/0-install.yaml
new file mode 120000 (symlink)
index 0000000..3b18529
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/begin/0-install.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/workload/begin/1-cephadm.yaml b/qa/suites/fs/workload/begin/1-cephadm.yaml
new file mode 100644 (file)
index 0000000..a58ea57
--- /dev/null
@@ -0,0 +1,21 @@
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
+tasks:
+- cephadm:
+    roleless: false
+- cephadm.shell:
+    mon.a:
+      - ceph orch status
+      - ceph orch ps
+      - ceph orch ls
+      - ceph orch host ls
+      - ceph orch device ls
+- cephadm.shell:
+    mon.a:
+      - ceph fs dump
+      - ceph osd dump
+- fs.ready:
+    timeout: 300
diff --git a/qa/suites/fs/workload/begin/2-logrotate.yaml b/qa/suites/fs/workload/begin/2-logrotate.yaml
new file mode 120000 (symlink)
index 0000000..9d6e7ba
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/begin/2-logrotate.yaml
\ No newline at end of file