]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph/qa/suites: add rgw/upgrade/ragweed
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 23 Feb 2017 23:51:21 +0000 (15:51 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Feb 2018 22:45:51 +0000 (14:45 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
qa/suites/rgw/upgrade/ragweed/% [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/0-cluster/+ [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/0-cluster/openstack.yaml [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/0-cluster/start.yaml [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/1-install/jewel.yaml [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/2-workload/prepare.yaml [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/3-upgrade/upgrade.yaml [new file with mode: 0644]
qa/suites/rgw/upgrade/ragweed/4-workload/check.yaml [new file with mode: 0644]

diff --git a/qa/suites/rgw/upgrade/ragweed/% b/qa/suites/rgw/upgrade/ragweed/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/upgrade/ragweed/0-cluster/+ b/qa/suites/rgw/upgrade/ragweed/0-cluster/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/upgrade/ragweed/0-cluster/openstack.yaml b/qa/suites/rgw/upgrade/ragweed/0-cluster/openstack.yaml
new file mode 100644 (file)
index 0000000..a0d5c20
--- /dev/null
@@ -0,0 +1,6 @@
+openstack:
+  - machine:
+      disk: 100 # GB
+  - volumes: # attached to each instance
+      count: 3
+      size: 30 # GB
diff --git a/qa/suites/rgw/upgrade/ragweed/0-cluster/start.yaml b/qa/suites/rgw/upgrade/ragweed/0-cluster/start.yaml
new file mode 100644 (file)
index 0000000..fd200d7
--- /dev/null
@@ -0,0 +1,23 @@
+meta:
+- desc: |
+   Run ceph on two nodes,
+   with a separate client-only node. 
+   Use xfs beneath the osds.
+overrides:
+  ceph:
+    conf:
+      mon:
+        mon warn on legacy crush tunables: false
+    fs: xfs
+roles:
+- - mon.a
+  - mon.b
+  - mon.c
+  - mds.a
+  - osd.0
+  - osd.1
+  - osd.2
+- - osd.3
+  - osd.4
+  - osd.5
+- - client.0
diff --git a/qa/suites/rgw/upgrade/ragweed/1-install/jewel.yaml b/qa/suites/rgw/upgrade/ragweed/1-install/jewel.yaml
new file mode 100644 (file)
index 0000000..cee9913
--- /dev/null
@@ -0,0 +1,9 @@
+meta:
+- desc: install ceph/<base> latest
+tasks:
+- install:
+    branch: wip-rgw-ragweed
+    exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev']
+- print: "**** done install base branch"
+- ceph:
+- print: "**** done ceph"
diff --git a/qa/suites/rgw/upgrade/ragweed/2-workload/prepare.yaml b/qa/suites/rgw/upgrade/ragweed/2-workload/prepare.yaml
new file mode 100644 (file)
index 0000000..964b2f8
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- rgw:
+  - client.0
+- ragweed:
+    client.0:
+      force-branch: ceph-master
+      rgw_server: client.0
+      stages: prepare
diff --git a/qa/suites/rgw/upgrade/ragweed/3-upgrade/upgrade.yaml b/qa/suites/rgw/upgrade/ragweed/3-upgrade/upgrade.yaml
new file mode 100644 (file)
index 0000000..76a4d61
--- /dev/null
@@ -0,0 +1,16 @@
+tasks:
+- install.upgrade:
+    mon.a:
+    mon.b:
+    mon.c:
+    osd.0:
+    osd.1:
+    osd.2:
+    osd.3:
+    osd.4:
+    osd.5:
+    client.0:
+- ceph.restart:
+    daemons: [mon.a, mon.b, mon.c, osd.0, osd.1, osd.2, osd.3, osd.4, osd.5]
+    wait-for-healthy: false
+    wait-for-osds-up: true
diff --git a/qa/suites/rgw/upgrade/ragweed/4-workload/check.yaml b/qa/suites/rgw/upgrade/ragweed/4-workload/check.yaml
new file mode 100644 (file)
index 0000000..2d056bd
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- rgw:
+  - client.0
+- ragweed:
+    client.0:
+      force-branch: ceph-master
+      rgw_server: client.0
+      stages: check