From: Mark Kogan Date: Sun, 2 Apr 2023 13:23:25 +0000 (+0300) Subject: rgw : fix python script using s3cmd with error code 403 ubuntu 20.04 X-Git-Tag: v19.0.0~1436^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F50842%2Fhead;p=ceph.git rgw : fix python script using s3cmd with error code 403 ubuntu 20.04 Fixes: https://tracker.ceph.com/issues/54104 Signed-off-by: Mark Kogan --- diff --git a/qa/workunits/rgw/test_rgw_datacache.py b/qa/workunits/rgw/test_rgw_datacache.py index 6d2ac97a6728..f070ec0f1799 100755 --- a/qa/workunits/rgw/test_rgw_datacache.py +++ b/qa/workunits/rgw/test_rgw_datacache.py @@ -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