]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw/tempest: run s3tests against keystone ec2
authorCasey Bodley <cbodley@redhat.com>
Fri, 4 Aug 2023 16:29:47 +0000 (12:29 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 6 Oct 2023 14:41:36 +0000 (10:41 -0400)
Fixes: https://tracker.ceph.com/issues/59424
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/suites/rgw/tempest/s3tests-branch.yaml [new symlink]
qa/suites/rgw/tempest/tasks/+ [new file with mode: 0644]
qa/suites/rgw/tempest/tasks/s3tests.yaml [new file with mode: 0644]

diff --git a/qa/suites/rgw/tempest/s3tests-branch.yaml b/qa/suites/rgw/tempest/s3tests-branch.yaml
new file mode 120000 (symlink)
index 0000000..bdcaca4
--- /dev/null
@@ -0,0 +1 @@
+.qa/rgw/s3tests-branch.yaml
\ No newline at end of file
diff --git a/qa/suites/rgw/tempest/tasks/+ b/qa/suites/rgw/tempest/tasks/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/tempest/tasks/s3tests.yaml b/qa/suites/rgw/tempest/tasks/s3tests.yaml
new file mode 100644 (file)
index 0000000..f1ee8a1
--- /dev/null
@@ -0,0 +1,35 @@
+overrides:
+  ceph:
+    conf:
+      client:
+        rgw s3 auth use keystone: true
+        rgw crypt s3 kms backend: testing
+        rgw crypt s3 kms encryption keys: testkey-1=YmluCmJvb3N0CmJvb3N0LWJ1aWxkCmNlcGguY29uZgo= testkey-2=aWIKTWFrZWZpbGUKbWFuCm91dApzcmMKVGVzdGluZwo=
+        rgw crypt require ssl: false
+  keystone:
+    client.0:
+      projects:
+        - name: s3tests
+          description: s3tests project
+      users:
+        - name: s3tests-main
+          password: SECRET
+          project: s3tests
+      ec2 credentials:
+        - project: s3tests
+          user: s3tests-main
+      roles: [ name: member ]
+      role-mappings:
+        - name: member
+          user: s3tests-main
+          project: s3tests
+
+tasks:
+- s3tests:
+    client.0:
+      rgw_server: client.0
+      keystone users:
+        s3 main:
+          client: client.0
+          project: s3tests
+          user: s3tests-main