Skip to content

Commit

Permalink
Merge pull request #674 from yuva-gayam/s3cmd_get_tertiary
Browse files Browse the repository at this point in the history
Made required changes for s3cmd download/get on tertiary cluster
  • Loading branch information
mergify[bot] authored Feb 24, 2025
2 parents 852ada0 + 9e614a6 commit b1e8773
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions rgw/v2/tests/s3cmd/configs/test_get_s3cmd_tertiary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# script: ceph-qe-scripts/rgw/v2/tests/s3cmd/test_s3cmd.py
# polarian id: CEPH-83575477
config:
user_count: 1
bucket_count: 2
objects_count: 100
test_ops:
s3cmd_get_objects: true
is_not_master_zone: true
4 changes: 3 additions & 1 deletion rgw/v2/tests/s3cmd/test_s3cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
Verification of CEPH-83574806: multiple delete marker not created during object deletion in versioned bucket through s3cmd
"""


import argparse
import datetime
import json
Expand Down Expand Up @@ -406,6 +405,9 @@ def test_exec(config, ssh_con):
else:
log.info("bucket list is empty as expected")

elif config.test_ops.get("is_not_master_zone", False):
log.info("This is not the master zone. Skipping tenant user creation.")

else:
user_name = resource_op.create_users(no_of_users_to_create=1)[0]["user_id"]
tenant = "tenant"
Expand Down

0 comments on commit b1e8773

Please sign in to comment.