Bug 1981477 - Unable to attach Vsphere volume shows the error "failed to get canonical path"
Summary: Unable to attach Vsphere volume shows the error "failed to get canonical path"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 4.9.0
Assignee: Hemant Kumar
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks: 1957133
TreeView+ depends on / blocked
 
Reported: 2021-07-12 16:09 UTC by Hemant Kumar
Modified: 2021-12-15 06:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1957133
Environment:
Last Closed: 2021-10-18 17:38:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes pull 817 0 None open Bug 1981477: Do not throw error when we can't get canonical path 2021-07-12 16:11:24 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:38:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.