Skip to content

recycler pods fails on NFS with undeletable .snapshot folders #8721

@tcastberg

Description

@tcastberg

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions