From 5846a9c2677067516f98d502980dab1681cddb69 Mon Sep 17 00:00:00 2001 From: Mark Kogan Date: Sun, 2 Apr 2023 16:23:25 +0300 Subject: [PATCH] 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 --- qa/workunits/rgw/test_rgw_datacache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/rgw/test_rgw_datacache.py b/qa/workunits/rgw/test_rgw_datacache.py index 6d2ac97a67282..f070ec0f17998 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 -- 2.39.5