Skip to content

Commit 21436f7

Browse files
committed
researched again csi-provider compliance
Signed-off-by: Katharina Trentau <[email protected]>
1 parent 6e5754e commit 21436f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
PV_NAME = "test-k-pv"
5353
POD_NAME = "test-k-pod"
5454
# A list of suggested CSI-Providers that work accordingly to the standards
55+
# except: Longhorn only prtially compliant with redundant storage within/across AZs
5556
ALLOWED_CSI_PROV = ["cinder", "rookCeph", "longhorn"]
5657

5758

@@ -402,14 +403,14 @@ def main(argv):
402403
"try to clean up left overs, then start again"
403404
)
404405
env.return_code = 3
405-
env.return_message = "(409) conflicting resources"
406+
env.return_message = "(Api Error: 409) conflicting resources"
406407
return
407408
elif api_exception.status == 404: # might be obsolete
408409
logger.info(
409410
"resource not found, " "failed to build resources correctly"
410411
)
411412
env.return_code = 4
412-
env.return_message = "(404) resource not found"
413+
env.return_message = "(Api Error: 404) resource not found"
413414
return
414415
else:
415416
logger.info(f"An API error occurred: {api_exception}")

0 commit comments

Comments
 (0)