Bug 1390879
| Summary: | NFS PV is failed with Recycle policy after delete the pvc | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
| Component: | Storage | Assignee: | Matthew Wong <mawong> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jianwei Hou <jhou> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.0 | CC: | aos-bugs, bchilds, mawong, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-14 15:33:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
PR will be merged today https://github.com/openshift/origin/pull/11731 This has been merged into ose and is in OSE v3.4.0.22 or newer. This is passed on the openshift v3.4.0.22+5c56720 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 |
Description of problem: NFS PV is failed with Recycle policy after delete the pvc Version-Release number of selected component (if applicable): openshift v3.4.0.18+ada983f kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 How reproducible: Always Steps to Reproduce: 1.Create a nfs server 2.Create a pv { "apiVersion": "v1", "kind": "PersistentVolume", "metadata": { "name": "nfs1", "labels": { "usedFor": "tc522215" } }, "spec": { "capacity": { "storage": "5Gi" }, "accessModes": [ "ReadWriteMany" ], "nfs": { "path": "/", "server": "172.30.208.33" }, "persistentVolumeReclaimPolicy": "Recycle" } } 3.Create a pvc oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/persistent-volumes/nfs/claim-rwx.json 4.Check pv and pvc status pv and pvc is bound 5.Delete pvc 6. Check pv status Actual results: PV is failed Expected results: PV is available Additional info: oc describe pv nfs1 Name: nfs1 Labels: usedFor=tc522215 StorageClass: Status: Failed Claim: default/nfsc Reclaim Policy: Recycle Access Modes: RWX Capacity: 5Gi Message: Recycler failed: User "system:serviceaccount:openshift-infra:pv-binder-controller" cannot watch events in project "openshift-infra" Source: Type: NFS (an NFS mount that lasts the lifetime of a pod) Server: 172.30.208.33 Path: / ReadOnly: false Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 11s 11s 1 {persistentvolume-controller } Warning VolumeFailedRecycle Recycler failed: User "system:serviceaccount:openshift-infra:pv-binder-controller" cannot watch events in project "openshift-infra"