]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/radosgw_admin_rest: replace boto2 with boto3
authorCasey Bodley <cbodley@redhat.com>
Tue, 17 Feb 2026 19:45:47 +0000 (14:45 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 5 May 2026 16:32:17 +0000 (12:32 -0400)
commit8ca69a6f70e8aa67f64d4b0d544ff45f1aca452d
tree10b8c76bc2bbc11417a96e0c3eca46a6a6854d0d
parentd4ee5f8c8edbdd22c99f90a3facd4a0ed8175511
qa/radosgw_admin_rest: replace boto2 with boto3

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 <cbodley@redhat.com>
(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 <aemerson@redhat.com>
qa/tasks/radosgw_admin_rest.py