]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Initial draft for infernalis stable upgrade tests
authorYuri Weinstein <yweinste@redhat.com>
Tue, 1 Dec 2015 23:03:13 +0000 (15:03 -0800)
committerYuri Weinstein <yweinste@redhat.com>
Fri, 29 Jan 2016 22:09:42 +0000 (14:09 -0800)
Fixed indentation
Replace ‘description’ with ’meta’
Incorporated Josh's comments
Moved all overrides to the top

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit f9e2851d47d3a2b5910a9d87bb6577ee63546d5e)

14 files changed:
suites/upgrade/infernalis/older/% [new file with mode: 0644]
suites/upgrade/infernalis/older/0-cluster/start.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/1-install/latest_infernalis_release.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/1-install/v9.1.0.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/2-workload/blogbench.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/2-workload/rbd.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/2-workload/testrados.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-mon-osd-mds.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-osd-mon-mds.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/4-final/+ [new file with mode: 0644]
suites/upgrade/infernalis/older/4-final/monthrash.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/4-final/osdthrash.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/4-final/testrados.yaml [new file with mode: 0644]
suites/upgrade/infernalis/older/distros [new symlink]

diff --git a/suites/upgrade/infernalis/older/% b/suites/upgrade/infernalis/older/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/infernalis/older/0-cluster/start.yaml b/suites/upgrade/infernalis/older/0-cluster/start.yaml
new file mode 100644 (file)
index 0000000..e0eedf2
--- /dev/null
@@ -0,0 +1,28 @@
+meta:
+- desc: |
+   Run ceph on two nodes, using one of them as a client,
+   with a separate client-only node. 
+   Use xfs beneath the osds.
+overrides:
+  ceph:
+    log-whitelist:
+    - scrub
+    - scrub mismatch
+    - ScrubResult
+    - wrongly marked me down
+    - objects unfound and apparently lost
+    - log bound mismatch
+    fs: xfs
+roles:
+- - mon.a
+  - mds.a
+  - osd.0
+  - osd.1
+  - osd.2
+- - mon.b
+  - mon.c
+  - osd.3
+  - osd.4
+  - osd.5
+  - client.0
+- - client.1
diff --git a/suites/upgrade/infernalis/older/1-install/latest_infernalis_release.yaml b/suites/upgrade/infernalis/older/1-install/latest_infernalis_release.yaml
new file mode 100644 (file)
index 0000000..dc42d42
--- /dev/null
@@ -0,0 +1,13 @@
+meta:
+- desc: |
+   install ceph/infernalis
+   run workload and upgrade-sequence in parallel
+tasks:
+- install:
+    branch: infernalis
+- print: "**** done latest infernalis install"
+- ceph:
+- parallel:
+   - workload
+   - upgrade-sequence
+- print: "**** done parallel infernalis"
diff --git a/suites/upgrade/infernalis/older/1-install/v9.1.0.yaml b/suites/upgrade/infernalis/older/1-install/v9.1.0.yaml
new file mode 100644 (file)
index 0000000..3f345ce
--- /dev/null
@@ -0,0 +1,13 @@
+meta:
+- desc: |
+   install ceph/infernalis v9.1.0
+   run workload and upgrade-sequence in parallel
+tasks:
+- install:
+    tag: v9.1.0
+- print: "**** done v9.1.0 install"
+- ceph:
+- parallel:
+   - workload
+   - upgrade-sequence
+- print: "**** done parallel v9.1.0"
diff --git a/suites/upgrade/infernalis/older/2-workload/blogbench.yaml b/suites/upgrade/infernalis/older/2-workload/blogbench.yaml
new file mode 100644 (file)
index 0000000..290eab5
--- /dev/null
@@ -0,0 +1,13 @@
+meta:
+- desc: |
+   run a cephfs stress test
+   mount ceph-fuse on client.0 before running workunit
+workload:
+  sequential:
+  - ceph-fuse:
+  - print: "**** done ceph-fuse 2-workload"
+  - workunit:
+      clients:
+         client.0:
+          - suites/blogbench.sh
+  - print: "**** done suites/blogbench.sh 2-workload"
diff --git a/suites/upgrade/infernalis/older/2-workload/rbd.yaml b/suites/upgrade/infernalis/older/2-workload/rbd.yaml
new file mode 100644 (file)
index 0000000..95a1f99
--- /dev/null
@@ -0,0 +1,12 @@
+meta:
+- desc: |
+   run basic import/export cli tests for rbd
+workload:
+   sequential:
+   - workunit:
+       clients:
+         client.1:
+           - rbd/import_export.sh
+       env:
+         RBD_CREATE_ARGS: --new-format
+   - print: "**** done rbd/import_export.sh 2-workload"
diff --git a/suites/upgrade/infernalis/older/2-workload/testrados.yaml b/suites/upgrade/infernalis/older/2-workload/testrados.yaml
new file mode 100644 (file)
index 0000000..286ff7d
--- /dev/null
@@ -0,0 +1,15 @@
+meta:
+- desc: |
+   run randomized correctness test for rados operations
+workload:
+  rados:
+    clients: [client.0]
+    ops: 2000
+    objects: 50
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      rollback: 50
diff --git a/suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-mon-osd-mds.yaml b/suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-mon-osd-mds.yaml
new file mode 100644 (file)
index 0000000..ae582b4
--- /dev/null
@@ -0,0 +1,41 @@
+meta:
+- desc: |
+   upgrade the ceph cluster, 
+   ordering: mon, mds, osd
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+       mon.b:
+   - print: "**** done install.upgrade infernalis"
+   - ceph.restart: [mon.a]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mon.b]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mon.c]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - ceph.restart: [osd.0]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.1]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.2]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.3]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.4]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.5]
+   - sleep:
+       duration: 30
+   - print: "**** done ceph.restart all"
diff --git a/suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-osd-mon-mds.yaml b/suites/upgrade/infernalis/older/3-upgrade-sequence/upgrade-osd-mon-mds.yaml
new file mode 100644 (file)
index 0000000..54711d2
--- /dev/null
@@ -0,0 +1,41 @@
+meta:
+- desc: |
+   upgrade the ceph cluster, 
+   ordering: osd, mon, mds
+upgrade-sequence:
+   sequential:
+   - install.upgrade:
+       mon.a:
+       mon.b:
+   - print: "**** done install.upgrade infernalis"
+   - ceph.restart: [osd.0]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.1]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.2]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.3]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.4]
+   - sleep:
+       duration: 30
+   - ceph.restart: [osd.5]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mon.a]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mon.b]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mon.c]
+   - sleep:
+       duration: 60
+   - ceph.restart: [mds.a]
+   - sleep:
+       duration: 60
+   - print: "**** done ceph.restart all"
diff --git a/suites/upgrade/infernalis/older/4-final/+ b/suites/upgrade/infernalis/older/4-final/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/infernalis/older/4-final/monthrash.yaml b/suites/upgrade/infernalis/older/4-final/monthrash.yaml
new file mode 100644 (file)
index 0000000..5d9e06e
--- /dev/null
@@ -0,0 +1,16 @@
+meta:
+- desc: |
+   randomly kill and revive monitors
+tasks:
+- mon_thrash:
+    revive_delay: 20
+    thrash_delay: 1
+- print: "**** done mon_thrash 4-workload"
+- ceph-fuse:
+- print: "**** done ceph-fuse 4-workload"
+- workunit:
+    clients:
+      client.0:
+        - suites/dbench.sh
+- print: "**** done suites/dbench.sh 4-workload"
+
diff --git a/suites/upgrade/infernalis/older/4-final/osdthrash.yaml b/suites/upgrade/infernalis/older/4-final/osdthrash.yaml
new file mode 100644 (file)
index 0000000..a2872de
--- /dev/null
@@ -0,0 +1,18 @@
+meta:
+- desc: |
+   randomly kill and revive osds
+   increasing the number of pgs at random times
+   run cephfs stress test
+tasks:
+- sequential:
+  - thrashosds:
+      timeout: 1200
+      chance_pgnum_grow: 1
+      chance_pgpnum_fix: 1
+  - print: "**** done thrashosds 4-workload"
+  - workunit:
+      clients:
+        client.0:
+           - suites/iogen.sh
+  - print: "**** done suites/iogen.sh 4-workload"
+
diff --git a/suites/upgrade/infernalis/older/4-final/testrados.yaml b/suites/upgrade/infernalis/older/4-final/testrados.yaml
new file mode 100644 (file)
index 0000000..5838109
--- /dev/null
@@ -0,0 +1,16 @@
+meta:
+- desc: |
+   run randomized correctness test for rados operations
+tasks:
+- sequential:
+  - rados:
+      clients: [client.0]
+      ops: 2000
+      objects: 50
+      op_weights:
+        read: 100
+        write: 100
+        delete: 50
+        snap_create: 50
+        snap_remove: 50
+        rollback: 50
diff --git a/suites/upgrade/infernalis/older/distros b/suites/upgrade/infernalis/older/distros
new file mode 120000 (symlink)
index 0000000..ca99fee
--- /dev/null
@@ -0,0 +1 @@
+../../../../distros/supported/
\ No newline at end of file