-
Notifications
You must be signed in to change notification settings - Fork 150
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
Improve error handling of GCE Attach Errors #298
Comments
For attach at least, it seems the codes are not actually used in terms of the isFinalError logic, only logging/events. From here, it seems that RESOURCE_EXHAUSTED should be used for the problem where too many devices are being attached at the same time, rather than the max devices per node reached issue. |
according to the spec:
Looks like the And no matter what the |
in fact I would think that it |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
Depending on the type of error returned we should be returning:
"ABORTED" for operation pending errors
"RESOURCE_EXHAUSTED" for max volumes attached errors
"FAILED_PRECONDITION" for volume already attached to another node errors
right now we just return an INTERNAL ERROR for any gce attach error during controller publish volume
/cc @msau42
The text was updated successfully, but these errors were encountered: