gluster / gluster-subvol

Subdirectories of Gluster volumes as PVs in Kubernetes and OpenShift
Apache License 2.0
11 stars 6 forks source link

Remove `mountpoint` check on unmount #41

Closed JohnStrunk closed 5 years ago

JohnStrunk commented 5 years ago

The mountpoint check was failing in the case of ENOTCONN, causing us to wrongly believe the directory was not mounted. This removes that check and always tries to unmount. This should fix the last piece of mounted volumes causing pods to get stuck terminating.

Fixes #34