-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
We're seeing PVs being failing when they are released because they are served from a netapp with snapshot enabled. This means every single folder has a .snapshot folder in it. When you delete a folder in a pv there is no issue, but the .snapshot folder in the root of the pv with all its subdirectories and files is not possible to delete.
Version
oc version
oc v1.1.1.1
kubernetes v1.1.0-origin-1107-g4c8e6f4
Steps To Reproduce
Create PV on netapp with .snapshot
Create claim for PV
Release claim
Current Result
oc describe pv XXX
Status: Failed
Message: Recycling error: Pod failed, pod.Status.Message unknown.
Expected Result
Possible one should be able to exclude files/directories from deletion?
Additional Information
Log from recycler pod:
docker logs e886bb5fa08e
Scrub failed: /scrub/.snapshot/nfs_daily.2016-04-30_0015 (dgrwxrwxrwx), reading dir names as 0: open /scrub/.snapshot/nfs_daily.2016-04-30_0015: permission denied