Bug 1867143 - NFS CSI driver is not idempotent
Summary: NFS CSI driver is not idempotent
Keywords:
Status: CLOSED DUPLICATE of bug 1867152
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.0
Assignee: Mike Fedosin
QA Contact: Qin Ping
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-07 13:34 UTC by Jan Safranek
Modified: 2020-09-10 13:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-10 13:59:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Safranek 2020-08-07 13:34:05 UTC
Description of problem:

NodeUnpublish call on already unmounted directory failed with NotFound

E0807 13:21:57.324110       1 utils.go:50] GRPC error: rpc error: code = NotFound desc = Volume not mounted

The call should be idempotent, therefore return success if the volume was already unmounted.

Version-Release number of selected component (if applicable):
The version in today's 4.5 OLM catalog

How reproducible:
Always

Steps to Reproduce:
1. Run a pod with a Manila NFS volume
2. ssh to a node and unmount the volume
3. Delete the pod

Actual results:
The pod is Terminating forever

Expected results:
The pod is deleted

Additional info:
Please check also other CSI calls too, esp. NodePublish on already mounted volume - it must be idempotent too.

This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1862523. Not the root cause though.

Comment 2 Mike Fedosin 2020-09-10 13:59:04 UTC
This bug is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1867152 and was fixed by https://github.com/openshift/csi-driver-nfs/pull/31
Thanks a lot Jan!

*** This bug has been marked as a duplicate of bug 1867152 ***


Note You need to log in before you can comment on or make changes to this bug.