]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/orch/rook/smoke: initial smoke suite
authorSage Weil <sage@newdream.net>
Fri, 14 May 2021 15:45:00 +0000 (10:45 -0500)
committerSage Weil <sage@newdream.net>
Tue, 18 May 2021 20:19:16 +0000 (15:19 -0500)
- os: 18.04, 20.04, centos, centos+kubic
- nodes: 1 or 3
- rook: 1.6.2 or master
- k8s: 1.21 always (for now)
- net: calico always (flannel + centos is wonky)
- workload: none, rados bench

Signed-off-by: Sage Weil <sage@newdream.net>
20 files changed:
qa/suites/orch/.qa [new symlink]
qa/suites/orch/rook/.qa [new symlink]
qa/suites/orch/rook/smoke/% [new file with mode: 0644]
qa/suites/orch/rook/smoke/.qa [new symlink]
qa/suites/orch/rook/smoke/0-distro/.qa [new symlink]
qa/suites/orch/rook/smoke/0-distro/centos_8.2_kubic_stable.yaml [new symlink]
qa/suites/orch/rook/smoke/0-distro/centos_latest.yaml [new symlink]
qa/suites/orch/rook/smoke/0-distro/ubuntu_18.04.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/0-distro/ubuntu_20.04.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/0-kubeadm.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/1-rook.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/2-workload/none.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/2-workload/radosbench.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/3-final.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/cluster/1-node.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/cluster/3-node.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/k8s/1.21.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/net/calico.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/rook/1.6.2.yaml [new file with mode: 0644]
qa/suites/orch/rook/smoke/rook/master.yaml [new file with mode: 0644]

diff --git a/qa/suites/orch/.qa b/qa/suites/orch/.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/orch/rook/.qa b/qa/suites/orch/rook/.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/orch/rook/smoke/% b/qa/suites/orch/rook/smoke/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/orch/rook/smoke/.qa b/qa/suites/orch/rook/smoke/.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/orch/rook/smoke/0-distro/.qa b/qa/suites/orch/rook/smoke/0-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/orch/rook/smoke/0-distro/centos_8.2_kubic_stable.yaml b/qa/suites/orch/rook/smoke/0-distro/centos_8.2_kubic_stable.yaml
new file mode 120000 (symlink)
index 0000000..3afeed7
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/podman/centos_8.2_kubic_stable.yaml
\ No newline at end of file
diff --git a/qa/suites/orch/rook/smoke/0-distro/centos_latest.yaml b/qa/suites/orch/rook/smoke/0-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
diff --git a/qa/suites/orch/rook/smoke/0-distro/ubuntu_18.04.yaml b/qa/suites/orch/rook/smoke/0-distro/ubuntu_18.04.yaml
new file mode 100644 (file)
index 0000000..4d44648
--- /dev/null
@@ -0,0 +1,2 @@
+os_type: ubuntu
+os_version: "18.04"
diff --git a/qa/suites/orch/rook/smoke/0-distro/ubuntu_20.04.yaml b/qa/suites/orch/rook/smoke/0-distro/ubuntu_20.04.yaml
new file mode 100644 (file)
index 0000000..f203982
--- /dev/null
@@ -0,0 +1,2 @@
+os_type: ubuntu
+os_version: "20.04"
diff --git a/qa/suites/orch/rook/smoke/0-kubeadm.yaml b/qa/suites/orch/rook/smoke/0-kubeadm.yaml
new file mode 100644 (file)
index 0000000..33915f5
--- /dev/null
@@ -0,0 +1,2 @@
+tasks:
+- kubeadm:
diff --git a/qa/suites/orch/rook/smoke/1-rook.yaml b/qa/suites/orch/rook/smoke/1-rook.yaml
new file mode 100644 (file)
index 0000000..eca74f1
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- rook:
+- rook.shell:
+    - ceph -s
+    - ceph orch status
+    - ceph orch ps
+    - ceph orch ls
diff --git a/qa/suites/orch/rook/smoke/2-workload/none.yaml b/qa/suites/orch/rook/smoke/2-workload/none.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/orch/rook/smoke/2-workload/radosbench.yaml b/qa/suites/orch/rook/smoke/2-workload/radosbench.yaml
new file mode 100644 (file)
index 0000000..fd71605
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- install:
+    host.a:
+- radosbench:
+    clients: [client.a]
diff --git a/qa/suites/orch/rook/smoke/3-final.yaml b/qa/suites/orch/rook/smoke/3-final.yaml
new file mode 100644 (file)
index 0000000..7628cc9
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- rook.shell:
+    commands:
+      - ceph orch status
+      - ceph orch ps
+      - ceph orch ls
+      - ceph orch host ls
+      - ceph orch device ls
diff --git a/qa/suites/orch/rook/smoke/cluster/1-node.yaml b/qa/suites/orch/rook/smoke/cluster/1-node.yaml
new file mode 100644 (file)
index 0000000..e238526
--- /dev/null
@@ -0,0 +1,3 @@
+roles:
+- - host.a
+  - client.a
diff --git a/qa/suites/orch/rook/smoke/cluster/3-node.yaml b/qa/suites/orch/rook/smoke/cluster/3-node.yaml
new file mode 100644 (file)
index 0000000..d79a9f7
--- /dev/null
@@ -0,0 +1,7 @@
+roles:
+- - host.a
+  - client.a
+- - host.b
+  - client.b
+- - host.c
+  - client.c
diff --git a/qa/suites/orch/rook/smoke/k8s/1.21.yaml b/qa/suites/orch/rook/smoke/k8s/1.21.yaml
new file mode 100644 (file)
index 0000000..9e57a47
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  kubeadm:
+    version: "1.21"
diff --git a/qa/suites/orch/rook/smoke/net/calico.yaml b/qa/suites/orch/rook/smoke/net/calico.yaml
new file mode 100644 (file)
index 0000000..7e838c6
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  kubeadm:
+    pod_network: calico
diff --git a/qa/suites/orch/rook/smoke/rook/1.6.2.yaml b/qa/suites/orch/rook/smoke/rook/1.6.2.yaml
new file mode 100644 (file)
index 0000000..2b9b257
--- /dev/null
@@ -0,0 +1,4 @@
+overrides:
+  rook:
+    rook_image: rook/ceph:v1.6.2
+    rook_branch: v1.6.2
diff --git a/qa/suites/orch/rook/smoke/rook/master.yaml b/qa/suites/orch/rook/smoke/rook/master.yaml
new file mode 100644 (file)
index 0000000..72b1cec
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  rook:
+    rook_image: rook/ceph:master