Bug 1581113
| Summary: | Delete dynamic provisioning PVC with csi and Retain reclaimpolicy will create another PV | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | Jianwei Hou <jhou> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | aos-bugs, aos-storage-staff |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:16:14 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: | |||
|
Description
Qin Ping
2018-05-22 07:59:53 UTC
Another wired thing: First set secret.data.cloud.conf to an invalid value, like bug #1580273. Then update secret to a valid value, delete csi-cinder-controller sidecar containers, check PV and PVC. PVC goes into Bound status, but there are 2 PVs created. # oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE pvc1 Bound kubernetes-dynamic-pv-27dd46455e3311e8 1Gi RWO cinder 46m # oc get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE kubernetes-dynamic-pv-27dd46455e3311e8 1Gi RWO Retain Bound mytest/pvc1 cinder 3m kubernetes-dynamic-pv-44eada235e3311e8 1Gi RWO Retain Available mytest/pvc1 cinder 2m It seems to be caused by this: I0523 12:02:27.147090 1 controller.go:968] cannot start watcher for PVC csi/myclaim: unknown (get events) E0523 12:02:27.147380 1 controller.go:769] Error watching for provisioning success, can't provision for claim "csi/myclaim": unknown (get events) I updated the policy in https://github.com/openshift/openshift-docs/pull/8783 (again). Please test. The updated in the PR is worked for me. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816 |