]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: use 'with-sse-s3' override for s3tests 46467/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 11 May 2022 18:49:49 +0000 (14:49 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 Jul 2022 13:34:36 +0000 (09:34 -0400)
don't rely on the ceph manager task to parse a config file. each rgw
could be using a different config. instead, revert to an s3tests
override called 'with-sse-s3'

this way, the only job that enables sse-s3, vault_transit.yaml, contains
both the 'rgw crypt sse s3' configurables, and the flag to enable the
associated test cases

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 98ddd40859e5de6cde6386e1d3dad488f2dc54be)

qa/suites/rgw/crypt/2-kms/vault_transit.yaml
qa/tasks/s3tests.py

index 4e6d27025153749d9025dc7f24e3c36d6e41d8ea..d20bb52bcbfb3da805d4456876f22f9a4d158189 100644 (file)
@@ -13,6 +13,8 @@ overrides:
   rgw:
     client.0:
       use-vault-role: client.0
+  s3tests:
+    with-sse-s3: true
 
 tasks:
 - vault:
index a92b737728762527514a3348e94f73ff40c8fc7d..4ee388f5db2e600d3612fffca2f82fea23df08ce 100644 (file)
@@ -433,7 +433,7 @@ def run_tests(ctx, config):
         attrs = ["!fails_on_rgw", "!lifecycle_expiration", "!fails_strict_rfc2616","!test_of_sts","!webidentity_test"]
         if client_config.get('calling-format') != 'ordinary':
             attrs += ['!fails_with_subdomain']
-        if client_config.get('without-sse-s3'):
+        if not client_config.get('with-sse-s3'):
             attrs += ['!sse-s3']
         elif client_config.get('with-sse-s3'):
             pass