]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
added upgrade suite for dumpling-firefly-giant
authortamil <tamil.muthamizhan@inktank.com>
Wed, 24 Sep 2014 08:30:24 +0000 (01:30 -0700)
committertamil <tamil.muthamizhan@inktank.com>
Wed, 24 Sep 2014 08:30:24 +0000 (01:30 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
(cherry picked from commit c7603c0b7871477110946d2d47ea67dda1b7a9bf)

Conflicts:

suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-daemon.yaml
suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml

25 files changed:
suites/upgrade/dumpling-firefly-giant/parallel/% [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/0-cluster/start.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/1-dumpling-install/dumpling.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/+ [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/rados_api.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/test_rbd_api.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/3-firefly-upgrade/firefly.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/+ [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/rados_loadgenbig.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/test_rbd_python.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-daemon.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-type.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/+ [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-default.yaml [new symlink]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-plugin=jerasure-k=3-m=1.yaml [new symlink]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados-snaps-few-objects.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_loadgenmix.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_mon_thrash.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_cls.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_import_export.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_s3tests.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_swift.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-giant/parallel/distros [new symlink]
suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-daemon.yaml [new file with mode: 0644]
suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml [new file with mode: 0644]

diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/% b/suites/upgrade/dumpling-firefly-giant/parallel/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/0-cluster/start.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/0-cluster/start.yaml
new file mode 100644 (file)
index 0000000..e3d7f85
--- /dev/null
@@ -0,0 +1,19 @@
+overrides:
+  ceph:
+    conf:
+      mon:
+        mon warn on legacy crush tunables: false
+    log-whitelist:
+      - scrub mismatch
+      - ScrubResult
+roles:
+- - mon.a
+  - mds.a
+  - osd.0
+  - osd.1
+- - mon.b
+  - mon.c
+  - osd.2
+  - osd.3
+- - client.0
+  - client.1
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/1-dumpling-install/dumpling.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/1-dumpling-install/dumpling.yaml
new file mode 100644 (file)
index 0000000..6396b48
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- install:
+   branch: dumpling 
+- print: "**** done dumpling install ****"
+- ceph:
+   fs: xfs
+- parallel:
+   - workload
+- print: "**** done parallel ****"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/+ b/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/rados_api.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/rados_api.yaml
new file mode 100644 (file)
index 0000000..5138ec7
--- /dev/null
@@ -0,0 +1,9 @@
+workload:
+   sequential:
+   - workunit:
+       branch: dumpling 
+       clients:
+         client.0:
+         - rados/test.sh
+         - cls
+   - print: "**** done rados/test.sh &  cls on dumpling "
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/test_rbd_api.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/2-dumpling-workload/test_rbd_api.yaml
new file mode 100644 (file)
index 0000000..6a8918e
--- /dev/null
@@ -0,0 +1,8 @@
+workload:
+  sequential:
+  - workunit:
+      branch: dumpling 
+      clients:
+        client.0:
+        - rbd/test_librbd.sh
+  - print: "**** done rbd/test_librbd.sh on dumpling"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/3-firefly-upgrade/firefly.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/3-firefly-upgrade/firefly.yaml
new file mode 100644 (file)
index 0000000..7a9bb36
--- /dev/null
@@ -0,0 +1,18 @@
+tasks:
+   - install.upgrade:
+       mon.a:
+         branch: firefly
+       mon.b:
+         branch: firefly
+       client.0:
+         branch: firefly
+   - print: "**** done install.upgrade from dumpling to firefly"
+   - ceph.restart:
+   - print: "**** done restart"
+   - parallel:
+     - workload2
+     - upgrade-sequence
+   - print: "**** done parallel 2"
+   - install.upgrade:
+       client.0:
+   - print: "**** done install.upgrade client.0 to the version from teuthology-suite arg"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/+ b/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/rados_loadgenbig.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/rados_loadgenbig.yaml
new file mode 100644 (file)
index 0000000..a1ce588
--- /dev/null
@@ -0,0 +1,8 @@
+workload2:
+  sequential:
+  - workunit:
+      branch: firefly 
+      clients:
+        client.0:
+        - rados/load-gen-big.sh
+  - print: "**** done rados/load-gen-big.sh on firefly"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/test_rbd_python.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/4-firefly-workload/test_rbd_python.yaml
new file mode 100644 (file)
index 0000000..f91e860
--- /dev/null
@@ -0,0 +1,8 @@
+workload2:
+  sequential:
+  - workunit:
+      branch: firefly 
+      clients:
+        client.0:
+        - rbd/test_librbd_python.sh
+  - print: "**** done rbd/test_librbd_python.sh on firefly"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-daemon.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-daemon.yaml
new file mode 100644 (file)
index 0000000..d7d8c84
--- /dev/null
@@ -0,0 +1,40 @@
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+         branch: giant
+   - print: "**** done install.upgrade mon.a to giant ****"
+   - ceph.restart:
+       daemons: [mon.a]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.0, osd.1]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - print: "**** running mixed versions of osds and mons"
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
+   - install.upgrade:
+       mon.b:
+         branch: giant
+   - print: "**** done install.upgrade mon.b to giant ****"
+   - ceph.restart:
+       daemons: [mon.b, mon.c]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.2, osd.3]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-type.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/5-upgrade-to-giant/upgrade-by-type.yaml
new file mode 100644 (file)
index 0000000..ce22c04
--- /dev/null
@@ -0,0 +1,40 @@
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+         branch: giant
+   - print: "**** done install.upgrade mon.a to giant"
+   - ceph.restart:
+       daemons: [mon.a]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.0, osd.1]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - print: "**** running mixed versions of osds and mons"
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
+   - install.upgrade:
+       mon.b:
+         branch: giant
+   - print: "**** done install.upgrade mon.b to giant"
+   - ceph.restart:
+       daemons: [mon.b, mon.c]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.2, osd.3]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/+ b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-default.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-default.yaml
new file mode 120000 (symlink)
index 0000000..a8a0ae6
--- /dev/null
@@ -0,0 +1 @@
+../../../../../erasure-code/ec-rados-default.yaml
\ No newline at end of file
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-plugin=jerasure-k=3-m=1.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/ec-rados-plugin=jerasure-k=3-m=1.yaml
new file mode 120000 (symlink)
index 0000000..4b9d9a4
--- /dev/null
@@ -0,0 +1 @@
+../../../../../erasure-code/ec-rados-plugin=jerasure-k=3-m=1.yaml
\ No newline at end of file
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados-snaps-few-objects.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados-snaps-few-objects.yaml
new file mode 100644 (file)
index 0000000..bf85020
--- /dev/null
@@ -0,0 +1,12 @@
+tasks:
+- rados:
+    clients: [client.1]
+    ops: 4000
+    objects: 50
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      rollback: 50
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_loadgenmix.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_loadgenmix.yaml
new file mode 100644 (file)
index 0000000..879b7b6
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+  - workunit:
+      clients:
+        client.1:
+        - rados/load-gen-mix.sh
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_mon_thrash.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rados_mon_thrash.yaml
new file mode 100644 (file)
index 0000000..5c4c629
--- /dev/null
@@ -0,0 +1,10 @@
+tasks:
+   - sequential:
+      - mon_thrash:
+          revive_delay: 20
+          thrash_delay: 1
+      - workunit:
+          clients:
+            client.1:
+            - rados/test.sh
+      - print: "**** done rados/test.sh - 6-final-workload"
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_cls.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_cls.yaml
new file mode 100644 (file)
index 0000000..908b79e
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- workunit:
+    clients:
+      client.1:
+      - cls/test_cls_rbd.sh
+
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_import_export.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rbd_import_export.yaml
new file mode 100644 (file)
index 0000000..a7ce214
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- workunit:
+     clients:
+        client.1:
+        - rbd/import_export.sh
+     env:
+        RBD_CREATE_ARGS: --new-format
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_s3tests.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_s3tests.yaml
new file mode 100644 (file)
index 0000000..22c3a3f
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- rgw: [client.1]
+- s3tests:
+    client.1:
+      rgw_server: client.1
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_swift.yaml b/suites/upgrade/dumpling-firefly-giant/parallel/6-giant-workload/rgw_swift.yaml
new file mode 100644 (file)
index 0000000..0ab9feb
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+# Uncomment the next line if you have not already included rgw_s3tests.yaml in your test.
+# - rgw: [client.1]
+- swift:
+    client.1:
+      rgw_server: client.1
diff --git a/suites/upgrade/dumpling-firefly-giant/parallel/distros b/suites/upgrade/dumpling-firefly-giant/parallel/distros
new file mode 120000 (symlink)
index 0000000..ca99fee
--- /dev/null
@@ -0,0 +1 @@
+../../../../distros/supported/
\ No newline at end of file
diff --git a/suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-daemon.yaml b/suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-daemon.yaml
new file mode 100644 (file)
index 0000000..179f52e
--- /dev/null
@@ -0,0 +1,38 @@
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+   - print: "**** done install.upgrade mon.a to the version from teuthology-suite arg"
+   - ceph.restart:
+       daemons: [mon.a]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.0, osd.1]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - print: "**** running mixed versions of osds and mons"
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
+   - install.upgrade:
+       mon.b:
+   - print: "**** done install.upgrade mon.b to the version from teuthology-suite arg"
+   - ceph.restart:
+       daemons: [mon.b, mon.c]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.2, osd.3]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
diff --git a/suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml b/suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml
new file mode 100644 (file)
index 0000000..179f52e
--- /dev/null
@@ -0,0 +1,38 @@
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+   - print: "**** done install.upgrade mon.a to the version from teuthology-suite arg"
+   - ceph.restart:
+       daemons: [mon.a]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.0, osd.1]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - print: "**** running mixed versions of osds and mons"
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
+   - install.upgrade:
+       mon.b:
+   - print: "**** done install.upgrade mon.b to the version from teuthology-suite arg"
+   - ceph.restart:
+       daemons: [mon.b, mon.c]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.2, osd.3]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly