summaryrefslogtreecommitdiffstats
path: root/qa/suites/rgw/cloud-transition/tasks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /qa/suites/rgw/cloud-transition/tasks
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'qa/suites/rgw/cloud-transition/tasks')
l---------qa/suites/rgw/cloud-transition/tasks/.qa1
-rw-r--r--qa/suites/rgw/cloud-transition/tasks/cloud_transition_s3tests.yaml61
2 files changed, 62 insertions, 0 deletions
diff --git a/qa/suites/rgw/cloud-transition/tasks/.qa b/qa/suites/rgw/cloud-transition/tasks/.qa
new file mode 120000
index 000000000..a602a0353
--- /dev/null
+++ b/qa/suites/rgw/cloud-transition/tasks/.qa
@@ -0,0 +1 @@
+../.qa/ \ No newline at end of file
diff --git a/qa/suites/rgw/cloud-transition/tasks/cloud_transition_s3tests.yaml b/qa/suites/rgw/cloud-transition/tasks/cloud_transition_s3tests.yaml
new file mode 100644
index 000000000..756617fba
--- /dev/null
+++ b/qa/suites/rgw/cloud-transition/tasks/cloud_transition_s3tests.yaml
@@ -0,0 +1,61 @@
+tasks:
+- install:
+- ceph:
+- rgw:
+ storage classes: LUKEWARM, FROZEN
+ client.0:
+ port: 8000
+ client.1:
+ port: 8001
+ #client.2:
+ #port: 8002
+ #client.3:
+ #port: 8003
+- rgw-cloudtier:
+ client.0:
+ # cloudtier storage class params
+ # retain_head_object = false
+ cloud_storage_class: CLOUDTIER-CLIENT0
+ cloud_client: client.1
+ cloud_regular_storage_class: LUKEWARM
+ cloud_target_storage_class: FROZEN
+ cloud_retain_head_object: "false"
+ cloud_target_path: "teuthology-client0"
+ cloudtier_user:
+ # cloud-user creds to be created on cloud-client
+ cloud_secret: "abcefgh"
+ cloud_access_key: "12345678"
+ #client.2:
+ # cloudtier storage class params
+ # retain_head_object = true
+ #
+ # Having multiple cloudtier storage classes
+ # in the same task is increasing the transition
+ # time and resulting in spurious failures.
+ # Hence disabling this until there is a
+ # consistent way of running the tests
+ # without having to depend on lc_debug_interval.
+ #
+ #cloud_storage_class: CLOUDTIER-CLIENT2
+ #cloud_client: client.3
+ #cloud_regular_storage_class: LUKEWARM
+ #cloud_retain_head_object: "true"
+ #cloud_target_path: "teuthology-client2"
+ #cloudtier_user:
+ # cloud-user creds to be created on cloud-client
+ #cloud_secret: "foobar"
+ #cloud_access_key: "87654321"
+- tox: [client.0]
+- s3tests:
+ client.0:
+ rgw_server: client.0
+ storage classes: LUKEWARM, FROZEN
+ extra_attrs: ["cloud_transition"]
+ lc_debug_interval: 10
+ cloudtier_tests: True
+ #client.2:
+ #rgw_server: client.2
+ #storage classes: LUKEWARM, FROZEN
+ #extra_attrs: ["cloud_transition"]
+ #lc_debug_interval: 10
+ #cloudtier_tests: True