]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw : fix python script using s3cmd with error code 403 ubuntu 20.04 50842/head
authorMark Kogan <mkogan@redhat.com>
Sun, 2 Apr 2023 13:23:25 +0000 (16:23 +0300)
committerMark Kogan <mkogan@redhat.com>
Mon, 3 Apr 2023 12:18:55 +0000 (15:18 +0300)
Fixes: https://tracker.ceph.com/issues/54104
Signed-off-by: Mark Kogan <mkogan@redhat.com>
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