-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include the return code only if Backend has no ReturnCode #103
base: master
Are you sure you want to change the base?
Conversation
👍 Coverage increased from [%] to [74.04%] |
👍 Coverage increased from [%] to [74.07%] |
👍 Coverage increased from [%] to [74.27%] |
7f286b9
to
a65f0eb
Compare
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [74.27%] |
👍 Coverage increased from [%] to [74.17%] |
👍 Coverage increased from [%] to [74.27%] |
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [74.27%] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please share the errors also in the PR and how this is reflecting in the logs and csi
expVol: nil, | ||
subnetID: "sub-1", | ||
securityGroupID: "kube-fake-cluster-id", | ||
subnetError: nil, | ||
securityGroupError: nil, | ||
libVolumeResponse: nil, | ||
libVolumeAccessPointError: nil, | ||
libVolumeError: providerError.Message{Code: "FailedToPlaceOrder", Description: "Volume creation failed", Type: providerError.Unauthenticated}, | ||
libVolumeError: providerError.Message{Code: "FailedToPlaceOrder", Description: "Volume creation failed", Type: providerError.Unauthenticated, RC: 400}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unauthenticated error looks to be not matching with error code codes.InvalidArgument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IF we are expecting this then we need to match exact error codes and right if else conditions or similar logic. As of now for this phase anything that is not internal is 4xx invalid argument. We can discuss if required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are considering 2 generic categories, 5xx server side error and 4xx client is not passing right parameters
https://github.ibm.com/alchemy-containers/armada-storage/issues/6171#issuecomment-1060167669 |
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [74.27%] |
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [74.04%] |
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [73.94%] |
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [73.92%] |
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
Signed-off-by: Sameer Shaikh <[email protected]>
👍 Coverage increased from [%] to [73.88%] |
No description provided.