]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
added multiclient tests
authorrakesh <rakesh@localhost.localdomain>
Fri, 25 Jan 2019 11:36:20 +0000 (17:06 +0530)
committerrakesh <rakesh@localhost.localdomain>
Fri, 25 Jan 2019 11:36:20 +0000 (17:06 +0530)
qa/suites/rgw/multiclient/% [new file with mode: 0644]
qa/suites/rgw/multiclient/clusters/4-node-bluestore.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/clusters/4-node.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_multipart.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_sharding.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/tasks/swift_basic_ops.yaml [new file with mode: 0644]
qa/suites/rgw/multiclient/tasks/versioning_ops.yaml [new file with mode: 0644]

diff --git a/qa/suites/rgw/multiclient/% b/qa/suites/rgw/multiclient/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/multiclient/clusters/4-node-bluestore.yaml b/qa/suites/rgw/multiclient/clusters/4-node-bluestore.yaml
new file mode 100644 (file)
index 0000000..ddc465e
--- /dev/null
@@ -0,0 +1,35 @@
+overrides:
+  ceph_ansible:
+    vars:
+      ceph_stable: true
+      ceph_origin: distro
+      ceph_stable_rh_storage: true
+      ceph_repository: rhcs
+      ceph_stable_release: luminous
+      osd_scenario: collocated
+      journal_size: 1024
+      osd_auto_discovery: false
+      osd_objectstore: bluestore
+      ceph_test: true
+      ceph_conf_overrides:
+        global:
+          osd_default_pool_size: 3
+          osd_pool_default_pg_num: 8
+          osd_pool_default_pgp_num: 8
+          osd crush chooseleaf type: 0
+roles:
+- - mgr.x
+- - mon.a
+  - osd.0
+  - osd.1
+  - osd.2
+- - osd.3
+  - osd.4
+  - osd.5
+- - osd.6
+  - osd.7
+  - osd.8
+  - rgw.0
+  - client.0
+- - rgw.1
+  - client.1
diff --git a/qa/suites/rgw/multiclient/clusters/4-node.yaml b/qa/suites/rgw/multiclient/clusters/4-node.yaml
new file mode 100644 (file)
index 0000000..1e959a7
--- /dev/null
@@ -0,0 +1,34 @@
+overrides:
+  ceph_ansible:
+    vars:
+      ceph_stable: true
+      ceph_origin: distro
+      ceph_stable_rh_storage: true
+      ceph_repository: rhcs
+      ceph_stable_release: luminous
+      osd_scenario: collocated
+      journal_size: 1024
+      osd_auto_discovery: false
+      ceph_test: true
+      ceph_conf_overrides:
+        global:
+          osd_default_pool_size: 3
+          osd_pool_default_pg_num: 8
+          osd_pool_default_pgp_num: 8
+          osd crush chooseleaf type: 0
+roles:
+- - mgr.x
+- - mon.a
+  - osd.0
+  - osd.1
+  - osd.2
+- - osd.3
+  - osd.4
+  - osd.5
+- - osd.6
+  - osd.7
+  - osd.8
+  - rgw.0
+  - client.0
+- - rgw.1
+  - client.1
diff --git a/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects.yaml b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects.yaml
new file mode 100644 (file)
index 0000000..f97fa1d
--- /dev/null
@@ -0,0 +1,50 @@
+# tests s3 objects upload, download and deleting of buckets and objects
+# non-multipart upload
+tasks:
+  - ssh-keys: null
+  - ceph-ansible: null
+  - parallel:
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.0]
+          config:
+            user_count: 5
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 100
+              max: 200
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              sharding:
+                enable: false
+                max_shards: 0
+              compression:
+                enable: false
+                type: zlib
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.1]
+          config:
+            user_count: 5
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 100
+              max: 200
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              sharding:
+                enable: false
+                max_shards: 0
+              compression:
+                enable: false
+                type: zlib
\ No newline at end of file
diff --git a/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_multipart.yaml b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_multipart.yaml
new file mode 100644 (file)
index 0000000..5138ffc
--- /dev/null
@@ -0,0 +1,51 @@
+# tests s3 objects upload, download and deleting of buckets and objects
+# multipart upload
+tasks:
+  - ssh-keys: null
+  - ceph-ansible: null
+  - parallel:
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects_multipart
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.0]
+          config:
+            user_count: 2
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 1000
+              max: 1500
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              upload_type: multipart
+              sharding:
+                enable: false
+                max_shards: 0
+              compression:
+                enable: false
+                type: zlib
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects_muktipart
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.1]
+          config:
+            user_count: 2
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 1000
+              max: 1500
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              sharding:
+                enable: false
+                max_shards: 0
+              compression:
+                enable: false
+                type: zlib
\ No newline at end of file
diff --git a/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_sharding.yaml b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_sharding.yaml
new file mode 100644 (file)
index 0000000..bf3cb0c
--- /dev/null
@@ -0,0 +1,50 @@
+# tests s3 objects upload, download and deleting of buckets and objects with sharding enabled
+# non-multipart upload
+tasks:
+  - ssh-keys: null
+  - ceph-ansible: null
+  - parallel:
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.0]
+          config:
+            user_count: 5
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 100
+              max: 200
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              sharding:
+                enable: true
+                max_shards: 32
+              compression:
+                enable: false
+                type: zlib
+      - rgw-system-test:
+          test: Mbuckets_with_Nobjects
+          script: test_Mbuckets_with_Nobjects.py
+          clients: [client.1]
+          config:
+            user_count: 5
+            bucket_count: 5
+            objects_count: 10
+            objects_size_range:
+              min: 100
+              max: 200
+            test_ops:
+              create_bucket: true
+              create_object: true
+              download_object: true
+              delete_bucket_object: true
+              sharding:
+                enable: true
+                max_shards: 32
+              compression:
+                enable: false
+                type: zlib
\ No newline at end of file
diff --git a/qa/suites/rgw/multiclient/tasks/swift_basic_ops.yaml b/qa/suites/rgw/multiclient/tasks/swift_basic_ops.yaml
new file mode 100644 (file)
index 0000000..01b6572
--- /dev/null
@@ -0,0 +1,25 @@
+# swift basic ops: create container, upload object, download object, delete object and delete container.
+tasks:
+  - ssh-keys: null
+  - ceph-ansible: null
+  - parallel:
+      - rgw-system-test:
+          test: swift_basic_ops
+          script: test_swift_basic_ops.py
+          client: [client.0]
+          config:
+           container_count: 10
+           objects_count: 10
+           objects_size_range:
+            min: 50
+            max: 60
+      - rgw-system-test:
+          test: swift_basic_ops
+          script: test_swift_basic_ops.py
+          client: [client.1]
+          config:
+           container_count: 10
+           objects_count: 10
+           objects_size_range:
+            min: 50
+            max: 60
diff --git a/qa/suites/rgw/multiclient/tasks/versioning_ops.yaml b/qa/suites/rgw/multiclient/tasks/versioning_ops.yaml
new file mode 100644 (file)
index 0000000..ba6c975
--- /dev/null
@@ -0,0 +1,41 @@
+# tests version enable, download, suspend_version, and upload after objects after suspending
+tasks:
+  - ssh-keys: null
+  - ceph-ansible: null
+  - parallel:
+      - rgw-system-test:
+          test: versioning_ops
+          script: test_versioning_with_objects.py
+          clients: [client.0]
+          config:
+            user_count: 2
+            bucket_count: 2
+            objects_count: 10
+            version_count: 5
+            objects_size_range:
+              min: 50
+              max: 80
+            test_ops:
+              enable_version: true
+              suspend_version: true
+              copy_to_version: false
+              delete_object_versions: false
+              upload_after_suspend: true
+      - rgw-system-test:
+          test: versioning_ops
+          script: test_versioning_with_objects.py
+          clients: [client.1]
+          config:
+            user_count: 2
+            bucket_count: 2
+            objects_count: 10
+            version_count: 5
+            objects_size_range:
+              min: 50
+              max: 80
+            test_ops:
+              enable_version: true
+              suspend_version: true
+              copy_to_version: false
+              delete_object_versions: false
+              upload_after_suspend: true
\ No newline at end of file