Skip to content

tentacle: qa/radosgw_admin: replace boto2 with boto3 - #68739

Merged
batrick merged 7 commits into
ceph:tentaclefrom
adamemerson:wip-74591-tentacle
May 15, 2026
Merged

batrick merged 7 commits into
ceph:tentaclefrom
adamemerson:wip-74591-tentacle

Conversation

@adamemerson

Copy link
Copy Markdown
Contributor

@adamemerson
adamemerson requested a review from a team as a code owner May 4, 2026 18:39
@adamemerson
adamemerson requested a review from cbodley May 4, 2026 18:39
@github-actions github-actions Bot added this to the tentacle milestone May 4, 2026
@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

cbodley added 6 commits May 5, 2026 12:25
they were comparing the output of 'radosgw-admin policy' with the xml
output of boto2's get_acl() function, but boto3 doesn't expose the xml
response

'radosgw-admin policy' is just dumping the same output as our s3
GetObjectAcl api, so test coverage from s3-tests is sufficient for this

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 070945f)
Fixes: https://tracker.ceph.com/issues/75225
Signed-off-by: Adam C. Emerson <[email protected]>
the requestlog queue is only used for debugging, and relied on boto2
hooks that aren't worth rewriting in boto3

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit b677a49)
Fixes: https://tracker.ceph.com/issues/75225
Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 9aa7f82)

Conflicts:
	qa/tasks/radosgw_admin_rest.py
 - Ratelimit tests in main not in tentacle

Fixes: https://tracker.ceph.com/issues/75225
Signed-off-by: Adam C. Emerson <[email protected]>
replace the boto2 connection with a boto3 client for bucket/object
creation

aws credentials are passed into rgwadmin_rest() as an instance of
botocore.auth.SigV4Auth

build_admin_request() now returns an instance of
botocore.awsrequest.AWSRequest instead of
boto.connection.AWSAuthConnection

Fixes: https://tracker.ceph.com/issues/74591

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit a7f557c)

Conflicts:
	qa/tasks/radosgw_admin_rest.py
 - Ratelimit tests in main not on tentacle

Signed-off-by: Adam C. Emerson <[email protected]>

@ivancich ivancich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of work, thank you @adamemerson !

@adamemerson

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@batrick

batrick commented May 9, 2026

Copy link
Copy Markdown
Member
mypy: install_deps /ceph/qa> python -I -m pip install mypy types-boto types-cryptography types-jwt types-paramiko types-python-dateutil types-PyYAML types-redis types-requests -c /ceph/qa/../src/mypy-constrains.txt
mypy: commands[0] /ceph/qa> mypy --no-namespace-packages .
workunits/windows/py_tests/internal/utils.py:45: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
workunits/windows/py_tests/internal/utils.py:46: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/cephfs/test_subvolume.py:206: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/cephfs/test_subvolume.py:212: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/rgw_multi/tools.py:52: error: Name "boto.s3.user.User" is not defined  [name-defined]
Found 1 error in 1 file (checked 291 source files)
mypy: exit 1 (19.22 seconds) /ceph/qa> mypy --no-namespace-packages . pid=105250
mypy: FAIL ✖ in 35.02 seconds

batrick

This comment was marked as outdated.

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 9, 2026
@batrick

batrick commented May 9, 2026

Copy link
Copy Markdown
Member

@adamemerson

Copy link
Copy Markdown
Contributor Author

@batrick I'm not sure why this is failing the audit. I have a Conflicts and explanation in the commit it's flagging.

@batrick

batrick commented May 12, 2026

Copy link
Copy Markdown
Member

@batrick I'm not sure why this is failing the audit. I have a Conflicts and explanation in the commit it's flagging.

Sorry I don't mean to confuse you. Please ignore that for now unless I ask otherwise. I'll explain this better once it's deployed as part of CI.

@batrick

batrick commented May 12, 2026

Copy link
Copy Markdown
Member

jenkins test make check

1 similar comment
@ivancich

Copy link
Copy Markdown
Member

jenkins test make check

@ivancich

Copy link
Copy Markdown
Member

@batrick I'm not sure why this is failing the audit. I have a Conflicts and explanation in the commit it's flagging.

Sorry I don't mean to confuse you. Please ignore that for now unless I ask otherwise. I'll explain this better once it's deployed as part of CI.

Is the implication here, @batrick, that this will merge once make check completes?

@batrick

batrick commented May 14, 2026

Copy link
Copy Markdown
Member

@batrick I'm not sure why this is failing the audit. I have a Conflicts and explanation in the commit it's flagging.

Sorry I don't mean to confuse you. Please ignore that for now unless I ask otherwise. I'll explain this better once it's deployed as part of CI.

Is the implication here, @batrick, that this will merge once make check completes?

yes

This fixes the run-tox-qa failure in make check.

Signed-off-by: Adam C. Emerson <[email protected]>
@adamemerson adamemerson removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Backport Parity Review

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff below to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.

Affected File(s)

Range Diff

Click to expand
--- Original (9aa7f826)
+++ Backport (d4ee5f8c)
@@ -1,3 +1,11 @@
 qa/radosgw_admin_rest: pass endpoint to rgwadmin_rest()
 
 Signed-off-by: Casey Bodley <[email protected]>
+(cherry picked from commit 9aa7f82664ffab36cfc8cd4857147ab98f8710f9)
+
+Conflicts:
+	qa/tasks/radosgw_admin_rest.py
+ - Ratelimit tests in main not in tentacle
+
+Fixes: https://tracker.ceph.com/issues/75225
+Signed-off-by: Adam C. Emerson <[email protected]>

================================================================================
RANGE DIFF
================================================================================

1:  9aa7f82664f ! 1:  d4ee5f8c8ed qa/radosgw_admin_rest: pass endpoint to rgwadmin_rest()
    @@ Commit message
         qa/radosgw_admin_rest: pass endpoint to rgwadmin_rest()
     
         Signed-off-by: Casey Bodley <[email protected]>
    +    (cherry picked from commit 9aa7f82664ffab36cfc8cd4857147ab98f8710f9)
    +
    +    Conflicts:
    +            qa/tasks/radosgw_admin_rest.py
    +     - Ratelimit tests in main not in tentacle
    +
    +    Fixes: https://tracker.ceph.com/issues/75225
    +    Signed-off-by: Adam C. Emerson <[email protected]>
     
      ## qa/tasks/radosgw_admin_rest.py ##
     @@ qa/tasks/radosgw_admin_rest.py: from tasks.util.rgw import get_user_summary, get_user_successful_ops, rgwadmin
    @@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
     +    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'enabled' : 'true'})
          assert ret == 200
      
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'max-list-ops = 100' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-list-ops' : '100'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-list-ops' : '100'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['max_list_ops'] == 100
    - 
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'max-delete-ops = 50' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-delete-ops' : '50'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-delete-ops' : '50'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['max_delete_ops'] == 50
    - 
    -     # TESTCASE 'ratelimit' 'bucket' 'modify' 'max-list-ops = 200' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-list-ops' : '200'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-list-ops' : '200'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -     assert ret == 200
    -     bucket_ratelimit = out['bucket_ratelimit']
    -     assert bucket_ratelimit['max_list_ops'] == 200
    - 
    -     # TESTCASE 'ratelimit' 'bucket' 'modify' 'max-delete-ops = 75' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-delete-ops' : '75'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-delete-ops' : '75'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -     assert ret == 200
    -     bucket_ratelimit = out['bucket_ratelimit']
    -     assert bucket_ratelimit['max_delete_ops'] == 75
    - 
    -     # TESTCASE 'ratelimit' 'global' 'modify' 'bucket' 'max-list-ops = 500' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-list-ops' : '500'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-list-ops' : '500'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -     assert ret == 200
    -     # Check that global bucket ratelimit has the list ops set
    -     assert 'bucket_ratelimit' in out
    -     assert out['bucket_ratelimit']['max_list_ops'] == 500
    - 
    -     # TESTCASE 'ratelimit' 'global' 'modify' 'bucket' 'max-delete-ops = 300' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-delete-ops' : '300'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-delete-ops' : '300'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -     assert ret == 200
    -     # Check that global bucket ratelimit has the delete ops set
    -     assert 'bucket_ratelimit' in out
    -     assert out['bucket_ratelimit']['max_delete_ops'] == 300
    - 
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'multiple ops at once' 'succeeds'
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'modify'], {
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {
    -         'ratelimit-scope' : 'user',
    -         'uid' : ratelimit_user,
    -         'max-read-ops' : '1000',
    -@@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
    -         'enabled' : 'true'
    -     })
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['enabled'] == True
    -@@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
    -     assert user_ratelimit['max_delete_ops'] == 400
    - 
          # TESTCASE 'create account' 'account' 'post' 'creating a new account' 'succeeds'
     -    (ret, out) = rgwadmin_rest(admin_conn, ['account', 'post'], {'id' : account_id, 'name': account_id})
     +    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['account', 'post'], {'id' : account_id, 'name': account_id})

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff below to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.

Affected File(s)

Range Diff

Click to expand
--- Original (a7f557c3)
+++ Backport (8ca69a6f)
@@ -13,3 +13,10 @@
 Fixes: https://tracker.ceph.com/issues/74591
 
 Signed-off-by: Casey Bodley <[email protected]>
+(cherry picked from commit a7f557c3fb3b89569356c26d4da32d5c5922f324)
+
+Conflicts:
+	qa/tasks/radosgw_admin_rest.py
+ - Ratelimit tests in main not on tentacle
+
+Signed-off-by: Adam C. Emerson <[email protected]>

================================================================================
RANGE DIFF
================================================================================

1:  a7f557c3fb3 ! 1:  8ca69a6f70e qa/radosgw_admin_rest: replace boto2 with boto3
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/74591
     
         Signed-off-by: Casey Bodley <[email protected]>
    +    (cherry picked from commit a7f557c3fb3b89569356c26d4da32d5c5922f324)
    +
    +    Conflicts:
    +            qa/tasks/radosgw_admin_rest.py
    +     - Ratelimit tests in main not on tentacle
    +
    +    Signed-off-by: Adam C. Emerson <[email protected]>
     
      ## qa/tasks/radosgw_admin_rest.py ##
     @@ qa/tasks/radosgw_admin_rest.py: To extract the inventory (in csv format) use the command:
    @@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
     +    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'enabled' : 'true'})
          assert ret == 200
      
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'max-list-ops = 100' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-list-ops' : '100'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-list-ops' : '100'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['max_list_ops'] == 100
    - 
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'max-delete-ops = 50' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-delete-ops' : '50'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user, 'max-delete-ops' : '50'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['max_delete_ops'] == 50
    - 
    -     # TESTCASE 'ratelimit' 'bucket' 'modify' 'max-list-ops = 200' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-list-ops' : '200'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-list-ops' : '200'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -     assert ret == 200
    -     bucket_ratelimit = out['bucket_ratelimit']
    -     assert bucket_ratelimit['max_list_ops'] == 200
    - 
    -     # TESTCASE 'ratelimit' 'bucket' 'modify' 'max-delete-ops = 75' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-delete-ops' : '75'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket, 'max-delete-ops' : '75'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'ratelimit-scope' : 'bucket', 'bucket' : ratelimit_bucket})
    -     assert ret == 200
    -     bucket_ratelimit = out['bucket_ratelimit']
    -     assert bucket_ratelimit['max_delete_ops'] == 75
    - 
    -     # TESTCASE 'ratelimit' 'global' 'modify' 'bucket' 'max-list-ops = 500' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-list-ops' : '500'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-list-ops' : '500'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'global' : 'true'})
    -     assert ret == 200
    -     # Check that global bucket ratelimit has the list ops set
    -     assert 'bucket_ratelimit' in out
    -     assert out['bucket_ratelimit']['max_list_ops'] == 500
    - 
    -     # TESTCASE 'ratelimit' 'global' 'modify' 'bucket' 'max-delete-ops = 300' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-delete-ops' : '300'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {'ratelimit-scope' : 'bucket', 'global': 'true', 'max-delete-ops' : '300'})
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'global' : 'true'})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'global' : 'true'})
    -     assert ret == 200
    -     # Check that global bucket ratelimit has the delete ops set
    -     assert 'bucket_ratelimit' in out
    -     assert out['bucket_ratelimit']['max_delete_ops'] == 300
    - 
    -     # TESTCASE 'ratelimit' 'user' 'modify' 'multiple ops at once' 'succeeds'
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'modify'], {
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'modify'], {
    -         'ratelimit-scope' : 'user',
    -         'uid' : ratelimit_user,
    -         'max-read-ops' : '1000',
    -@@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
    -         'enabled' : 'true'
    -     })
    -     assert ret == 200
    --    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -+    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['ratelimit', 'info'], {'ratelimit-scope' : 'user', 'uid' : ratelimit_user})
    -     assert ret == 200
    -     user_ratelimit = out['user_ratelimit']
    -     assert user_ratelimit['enabled'] == True
    -@@ qa/tasks/radosgw_admin_rest.py: def task(ctx, config):
    -     assert user_ratelimit['max_delete_ops'] == 400
    - 
          # TESTCASE 'create account' 'account' 'post' 'creating a new account' 'succeeds'
     -    (ret, out) = rgwadmin_rest(endpoint, admin_conn, ['account', 'post'], {'id' : account_id, 'name': account_id})
     +    (ret, out) = rgwadmin_rest(endpoint, admin_creds, ['account', 'post'], {'id' : account_id, 'name': account_id})

Commit Parity Visualizer

BACKPORT PR #68739 SOURCE PR SOURCE STATUS
f8016d2 qa/radosgw_admin: remove acl test cases PR #67095 070945f qa/radosgw_admin: remove acl test cases
b0fe54f qa/radosgw_admin: remove requestlog b677a49 qa/radosgw_admin: remove requestlog
fea0363 qa/radosgw_admin: replace boto2 with boto3 2a94847 qa/radosgw_admin: replace boto2 with boto3
01f7418 rgw/rest: RESTArgs::get_string() url-decodes query params fdc44e5 rgw/rest: RESTArgs::get_string() url-decodes query params
d4ee5f8 qa/radosgw_admin_rest: pass endpoint to rgwadmin_rest() 9aa7f82 qa/radosgw_admin_rest: pass endpoint to rgwadmin_rest()
8ca69a6 qa/radosgw_admin_rest: replace boto2 with boto3 a7f557c qa/radosgw_admin_rest: replace boto2 with boto3
f79fadd tentacle: test/rgw_multi: Import boto.s3.user for UserJSONENcoder <<<< EXTRA IN BACKPORT >>>>

🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

CI Run Log: View Workflow Details

@adamemerson

Copy link
Copy Markdown
Contributor Author

/audit override

@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@adamemerson

Copy link
Copy Markdown
Contributor Author

@batrick This passed make check! Please merge.

@batrick batrick modified the milestones: tentacle, v20.2.2 May 15, 2026
@batrick
batrick merged commit ded3d59 into ceph:tentacle May 15, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants