]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tests: added ragweed coverage to stress-split* upgrade suites 28932/head
authorYuri Weinstein <yweinste@redhat.com>
Mon, 8 Jul 2019 19:51:51 +0000 (12:51 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Mon, 8 Jul 2019 19:51:51 +0000 (12:51 -0700)
added ceph config set global bluestore_warn_on_legacy_statfs fals
changed user "foo" to "ragweed" in ragweed.py

Fixes: http://tracker.ceph.com/issues/40452
Fices: http://tracker.ceph.com/issues/40467
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
qa/suites/upgrade/nautilus-x/parallel/1-ceph-install/nautilus.yaml
qa/suites/upgrade/nautilus-x/stress-split/1-ceph-install/nautilus.yaml
qa/suites/upgrade/nautilus-x/stress-split/4-workload/rgw_ragweed_prepare.yaml [new file with mode: 0644]
qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift-ragweed_check.yaml [new file with mode: 0644]
qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift.yaml [deleted file]
qa/tasks/ragweed.py

index d208a9d3b9c379b9e3902e94d9d39c06040c4568..2a3104cb8c0923843216e1a9ab8853e6f1e4b329 100644 (file)
@@ -25,6 +25,7 @@ tasks:
     conf:
       global:
         mon warn on pool no app: false
+        bluestore_warn_on_legacy_statfs: false
 - exec:
     osd.0:
       - ceph osd set-require-min-compat-client nautilus
index 059642500c58e7ee7e931d7c6a84cd0860df9233..5bcb3eaed6e0a192e45c14a95272fa4e83b2de7a 100644 (file)
@@ -5,6 +5,9 @@ tasks:
     branch: nautilus
 - print: "**** done install nautilus"
 - ceph:
+    conf:
+      global:
+        bluestore_warn_on_legacy_statfs: false
 - exec:
     osd.0:
       - ceph osd require-osd-release nautilus
diff --git a/qa/suites/upgrade/nautilus-x/stress-split/4-workload/rgw_ragweed_prepare.yaml b/qa/suites/upgrade/nautilus-x/stress-split/4-workload/rgw_ragweed_prepare.yaml
new file mode 100644 (file)
index 0000000..b1f06bc
--- /dev/null
@@ -0,0 +1,14 @@
+meta:
+- desc: |
+   rgw ragweed prepare before upgrade
+stress-tasks:
+  - full_sequential:
+     - sequential:
+       - rgw:
+         - client.0
+       - ragweed:
+           client.0:
+             default-branch: ceph-nautilus
+             rgw_server: client.0
+             stages: prepare
+       - print: "**** done rgw ragweed prepare 4-workload"
diff --git a/qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift-ragweed_check.yaml b/qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift-ragweed_check.yaml
new file mode 100644 (file)
index 0000000..39734ef
--- /dev/null
@@ -0,0 +1,18 @@
+meta:
+- desc: |
+   swift api tests for rgw
+   rgw ragweed check after upgrade
+tasks:
+- rgw:
+    client.0:
+- print: "**** done rgw 7-workload"
+- swift:
+    client.0:
+      rgw_server: client.0
+- print: "**** done swift 7-workload"
+- ragweed:
+    client.0:
+      default-branch: ceph-nautilus
+      rgw_server: client.0
+      stages: check
+- print: "**** done rgw ragweed check 7-workload"
diff --git a/qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift.yaml b/qa/suites/upgrade/nautilus-x/stress-split/7-final-workload/rgw-swift.yaml
deleted file mode 100644 (file)
index 76e5d6f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-meta:
-- desc: |
-   swift api tests for rgw
-tasks:
-- rgw:
-    client.0:
-- print: "**** done rgw 9-workload"
-- swift:
-    client.0:
-      rgw_server: client.0
-- print: "**** done swift 9-workload"
index 24b53999ffb04d00ffea44c9908d136027b213e1..b3bcf1f92e50dcbc9fd7629ba5cb0faa069f43ba 100644 (file)
@@ -119,7 +119,7 @@ def create_users(ctx, config, run_stages):
 
     log.info('Creating rgw users...')
     testdir = teuthology.get_testdir(ctx)
-    users = {'user regular': 'foo', 'user system': 'sysuser'}
+    users = {'user regular': 'ragweed', 'user system': 'sysuser'}
     for client in config['clients']:
         if not 'prepare' in run_stages[client]:
             # should have been prepared in a previous run