Bug 1981477

Summary: Unable to attach Vsphere volume shows the error "failed to get canonical path"
Product: OpenShift Container Platform Reporter: Hemant Kumar <hekumar>
Component: StorageAssignee: Hemant Kumar <hekumar>
Storage sub component: Kubernetes QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: acarlos, aos-bugs, hekumar, jocolema, jsafrane, mrbraga, prdeshpa, wduan, wking
Version: 4.9Keywords: Regression, Reopened, Upgrades
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1957133 Environment:
Last Closed: 2021-10-18 17:38:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1957133    

Comment 3 Wei Duan 2021-07-15 11:56:44 UTC
Verified pass on 4.9.0-0.nightly-2021-07-15-015134

Setting default-datastore as "/baz/SDDC-Datacenter/datastore/qetest/WorkloadDatastore", pv provisioning successfully and pod is running.
$ ./oc get pv pvc-8c5da6a1-04b2-4f76-8206-de5fbc521e19
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                      STORAGECLASS   REASON   AGE
pvc-8c5da6a1-04b2-4f76-8206-de5fbc521e19   1Gi        RWO            Delete           Bound    wduan-1/mypvc-default-sc   thin                    7m55s

$ ./oc get pv pvc-8c5da6a1-04b2-4f76-8206-de5fbc521e19 -o json | jq .spec.vsphereVolume.volumePath
"[/baz/SDDC-Datacenter/datastore/qetest/WorkloadDatastore] kubevols/jstuevervcsa-prjnq-dyn-pvc-8c5da6a1-04b2-4f76-8206-de5fbc521e19.vmdk"


Setting default-datastore as "qetest/WorkloadDatastore", pv provisioning successfully and pod is running.
$ ./oc get pv pvc-397be6fc-b6b3-4833-be8d-b7bb7a718484
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                       STORAGECLASS   REASON   AGE
pvc-397be6fc-b6b3-4833-be8d-b7bb7a718484   1Gi        RWO            Delete           Bound    wduan-02/mypvc-default-sc   thin                    48s

$ ./oc get pv pvc-397be6fc-b6b3-4833-be8d-b7bb7a718484 -o json | jq .spec.vsphereVolume.volumePath
"[qetest/WorkloadDatastore] kubevols/jstuevervcsa-prjnq-dyn-pvc-397be6fc-b6b3-4833-be8d-b7bb7a718484.vmdk"

Comment 4 W. Trevor King 2021-08-18 22:32:01 UTC
Dropping ImpactStatementProposed to catch up with https://bugzilla.redhat.com/show_bug.cgi?id=1957133#c32 .  We only need UpgradeBlocker-flow keywords on a single bug in the series.

Comment 7 errata-xmlrpc 2021-10-18 17:38:51 UTC
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.9.0 bug fix and security 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-2021:3759