Skip to content

Commit

Permalink
researched again csi-provider compliance
Browse files Browse the repository at this point in the history
Signed-off-by: Katharina Trentau <[email protected]>
  • Loading branch information
fraugabel committed Nov 21, 2024
1 parent 6e5754e commit 21436f7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
PV_NAME = "test-k-pv"
POD_NAME = "test-k-pod"
# A list of suggested CSI-Providers that work accordingly to the standards
# except: Longhorn only prtially compliant with redundant storage within/across AZs
ALLOWED_CSI_PROV = ["cinder", "rookCeph", "longhorn"]


Expand Down Expand Up @@ -402,14 +403,14 @@ def main(argv):
"try to clean up left overs, then start again"
)
env.return_code = 3
env.return_message = "(409) conflicting resources"
env.return_message = "(Api Error: 409) conflicting resources"
return
elif api_exception.status == 404: # might be obsolete
logger.info(
"resource not found, " "failed to build resources correctly"
)
env.return_code = 4
env.return_message = "(404) resource not found"
env.return_message = "(Api Error: 404) resource not found"
return
else:
logger.info(f"An API error occurred: {api_exception}")
Expand Down

0 comments on commit 21436f7

Please sign in to comment.