Skip to content

Allow plugin to return OK if NodeUnpublishVolume cannot find a volume #433

Open
@timoreimann

Description

@timoreimann

In #375, the spec was changed to allow plugins to return OK during ControllerPublishVolume if a volume is not found, thereby solving #373. A similar situation can arise for NodeUnpublishVolume when, say, a previously mounted volume has already been unmounted out-of-band, and the plugin decides that there simply is no more work to do. For such cases, it should not be okay to return OK from NodeUnpublishVolume as well.

I propose we carry over the corresponding amendments done in the context of ControllerPublishVolume to NodeUnpublishVolume. I'd be happy to carry out the spec update if this request finds consent.

This issue was motivated by a discussion that happened on kubernetes-csi/csi-test#258.

/cc @pohly @msau42 @jsafrane @maennchen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions