From: Yehuda Sadeh Date: Thu, 23 Feb 2017 23:51:21 +0000 (-0800) Subject: ceph/qa/suites: add rgw/upgrade/ragweed X-Git-Tag: v13.0.2~206^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3bf80dd1711bbb5084b0ae7e8e7cd65ddf51a05c;p=ceph.git ceph/qa/suites: add rgw/upgrade/ragweed Signed-off-by: Yehuda Sadeh --- diff --git a/qa/suites/rgw/upgrade/ragweed/% b/qa/suites/rgw/upgrade/ragweed/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/rgw/upgrade/ragweed/0-cluster/+ b/qa/suites/rgw/upgrade/ragweed/0-cluster/+ new file mode 100644 index 000000000000..e69de29bb2d1 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 index 000000000000..a0d5c20195be --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/0-cluster/openstack.yaml @@ -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 index 000000000000..fd200d752a26 --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/0-cluster/start.yaml @@ -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 index 000000000000..cee99135fa79 --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/1-install/jewel.yaml @@ -0,0 +1,9 @@ +meta: +- desc: install ceph/ 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 index 000000000000..964b2f87e77c --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/2-workload/prepare.yaml @@ -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 index 000000000000..76a4d61fd10a --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/3-upgrade/upgrade.yaml @@ -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 index 000000000000..2d056bde4a34 --- /dev/null +++ b/qa/suites/rgw/upgrade/ragweed/4-workload/check.yaml @@ -0,0 +1,8 @@ +tasks: +- rgw: + - client.0 +- ragweed: + client.0: + force-branch: ceph-master + rgw_server: client.0 + stages: check