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: v18.1.0~134^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce97dd2574c564f0b6e8e58a6b7e6955e6363b6b;p=ceph-ci.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 (cherry picked from commit 5846a9c2677067516f98d502980dab1681cddb69) --- diff --git a/qa/workunits/rgw/test_rgw_datacache.py b/qa/workunits/rgw/test_rgw_datacache.py index 6d2ac97a672..f070ec0f179 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