-
Notifications
You must be signed in to change notification settings - Fork 373
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
Clarify NOT_FOUND returned from ControllerUnpublishVolumeRequest #373
Comments
NOT_FOUND handling is more relevant to Unpublish right? |
I would suggest that the
The thinking here is because there may be a case where the node/volume is temporarily not found and not assumed as detached. If the |
Yeah, sorry, I meant Unpublish |
Discussed at community meeting. Notes here. Conclusion: seems like a good idea. Clarify backwards compatibility plan. And then feel free to open PR. Would need to put prominent release note when this goes out. |
The spec says that
NOT_FOUND
means that a volume (or node) corresponding to the specifiedvolume_id
(node_id
) does not exist.But it does not say what does it mean to CO. When CO is sure that it sent the right IDs and something else must have deleted the volume or node, can CO assume that the volume was detached from the node automatically by SP when the volume/node was deleted? In this case, returning
OK
would have the same meaning - the volume has been unpublished and CO does not need to do anything.CO has no way how to check / fix attachment of deleted volumes (or nodes), so it cannot do any cleanup when
NOT_FOUND
is returned.The text was updated successfully, but these errors were encountered: