]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix few ceph-ansible tests
authorVasu Kulkarni <vasu@redhat.com>
Thu, 21 Sep 2017 23:12:25 +0000 (16:12 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 21 Sep 2017 23:12:25 +0000 (16:12 -0700)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/suites/smoke/ceph-ansible/tasks/rados-python.yaml [deleted file]
qa/suites/smoke/ceph-ansible/tasks/rados_bench.yaml [new file with mode: 0644]
qa/suites/smoke/ceph-ansible/tasks/rados_cls.yaml [deleted file]
qa/suites/smoke/ceph-ansible/tasks/rbd_fsx.yaml [new file with mode: 0644]
qa/suites/smoke/ceph-ansible/vars/downstream.yaml

diff --git a/qa/suites/smoke/ceph-ansible/tasks/rados-python.yaml b/qa/suites/smoke/ceph-ansible/tasks/rados-python.yaml
deleted file mode 100644 (file)
index 5dbdcc0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-tasks:
-- ssh-keys:
-- ceph-ansible:
-- install.ship_utilities:
-- workunit:
-    clients:
-      client.0:
-        - rados/test_python.sh
-
diff --git a/qa/suites/smoke/ceph-ansible/tasks/rados_bench.yaml b/qa/suites/smoke/ceph-ansible/tasks/rados_bench.yaml
new file mode 100644 (file)
index 0000000..2ebe278
--- /dev/null
@@ -0,0 +1,29 @@
+tasks:
+- ssh-keys:
+- ceph-ansible:
+- install.ship_utilities:
+- full_sequential:
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
+  - radosbench:
+      clients: [client.0]
+      time: 90
diff --git a/qa/suites/smoke/ceph-ansible/tasks/rados_cls.yaml b/qa/suites/smoke/ceph-ansible/tasks/rados_cls.yaml
deleted file mode 100644 (file)
index 0ab7324..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-tasks:
-- ssh-keys:
-- ceph-ansible:
-- install.ship_utilities:
-- workunit:
-   clients:
-     client.0:
-       - cls
diff --git a/qa/suites/smoke/ceph-ansible/tasks/rbd_fsx.yaml b/qa/suites/smoke/ceph-ansible/tasks/rbd_fsx.yaml
new file mode 100644 (file)
index 0000000..337bb39
--- /dev/null
@@ -0,0 +1,17 @@
+overrides:
+ ceph_ansible:
+   vars:
+      ceph_conf_overrides:
+          client:
+            rbd default data pool: datapool
+tasks:
+- ssh-keys:
+- ceph-ansible:
+- install.ship_utilities:
+- exec:
+    client.0:
+      - sudo ceph osd pool create datapool 4
+      - rbd pool init datapool
+- rbd_fsx:
+    clients: [client.0]
+    ops: 20000
index 7d6fbf48a8bc72de6af0b62088d59cb4c39ecec6..c6fe3946e4afcda67118ef8c649cfccdf7bc5038 100644 (file)
@@ -4,6 +4,7 @@ overrides:
       ceph_stable: true
       ceph_origin: distro
       ceph_stable_rh_storage: true
+      ceph_repository: rhcs
       ceph_stable_release: luminous
       journal_collocation: true
       journal_size: 1024