Description of problem: The PV lock acquisition and symlinking should be contained in one function so that lock release is guaranteed. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Moving out, as this is a maintainability issue and this does not impact functionality or reliability.
oc get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE local-pv-296e1b66 10Gi RWO Delete Released test/pvc1 lvs 12m [chaoyang@dhcp-141-216 localvolume]$ oc get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE local-pv-296e1b66 10Gi RWO Delete Available lvs 5s local-storage-operator.4.7.0-202011261728.p0 Local Storage 4.7.0-202011261728.p0 Succeeded
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633