From: rakesh Date: Fri, 25 Jan 2019 11:36:20 +0000 (+0530) Subject: added multiclient tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7634b0673da39d9a3f66f0548d96e2511477381;p=ceph.git added multiclient tests --- diff --git a/qa/suites/rgw/multiclient/% b/qa/suites/rgw/multiclient/% new file mode 100644 index 00000000000..e69de29bb2d 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 index 00000000000..ddc465e4b6e --- /dev/null +++ b/qa/suites/rgw/multiclient/clusters/4-node-bluestore.yaml @@ -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 index 00000000000..1e959a75f90 --- /dev/null +++ b/qa/suites/rgw/multiclient/clusters/4-node.yaml @@ -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 index 00000000000..f97fa1d7007 --- /dev/null +++ b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects.yaml @@ -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 index 00000000000..5138ffc7d58 --- /dev/null +++ b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_multipart.yaml @@ -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 index 00000000000..bf3cb0c1dba --- /dev/null +++ b/qa/suites/rgw/multiclient/tasks/Mbuckets_with_Nobjects_sharding.yaml @@ -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 index 00000000000..01b65720fad --- /dev/null +++ b/qa/suites/rgw/multiclient/tasks/swift_basic_ops.yaml @@ -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 index 00000000000..ba6c9752513 --- /dev/null +++ b/qa/suites/rgw/multiclient/tasks/versioning_ops.yaml @@ -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