Skip to content

Commit c1c4009

Browse files
authored
Update mandatory-iaas-services.py
Signed-off-by: josephineSei <[email protected]>
1 parent 9e4fb38 commit c1c4009

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Tests/iaas/mandatory-services/mandatory-iaas-services.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,10 @@ def check_for_s3_and_swift(cloud_name: str, s3_credentials=None):
202202
endpoint = connection.object_store.get_endpoint()
203203
except Exception as e:
204204
logger.error(
205-
f"FAIL: No object store endpoint found. No testing for "
206-
f"the s3 service possible. Details: %s", e
207-
)
205+
f"FAIL: No object store endpoint found in cloud "
206+
f"'{cloud_name}'. No testing for the s3 service possible. "
207+
f"Details: %s", e
208+
)
208209
return 1
209210
# Get S3 endpoint (swift) and ec2 creds from OpenStack (keystone)
210211
s3_from_ostack(s3_creds, connection, endpoint)
@@ -239,6 +240,7 @@ def check_for_s3_and_swift(cloud_name: str, s3_credentials=None):
239240
del_bucket(s3, TESTCONTNAME)
240241
return result
241242

243+
242244
def main():
243245
parser = argparse.ArgumentParser(
244246
description="SCS Mandatory IaaS Service Checker")

0 commit comments

Comments
 (0)