]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw : fix python script using s3cmd with error code 403 ubuntu 20.04 51061/head
authorMark Kogan <mkogan@redhat.com>
Sun, 2 Apr 2023 13:23:25 +0000 (16:23 +0300)
committerCasey Bodley <cbodley@redhat.com>
Wed, 3 May 2023 20:08:58 +0000 (16:08 -0400)
Fixes: https://tracker.ceph.com/issues/54104
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit 5846a9c2677067516f98d502980dab1681cddb69)

qa/workunits/rgw/test_rgw_datacache.py

index 6d2ac97a67282ef8cace85e167e862d0079d0c5f..f070ec0f17998f5a13e22498884acedec9fb2558 100755 (executable)
@@ -90,7 +90,8 @@ def get_radosgw_endpoint():
     if port == '443':
         proto = "https"
 
-    endpoint = proto + "://" + hostname + ":" + port
+    endpoint = hostname
+
     log.info("radosgw endpoint is: %s", endpoint)
     return endpoint, proto