-
Bug
-
Resolution: Done
-
Undefined
-
4.12
-
None
-
None
-
False
-
This is a clone of issue OCPBUGS-1805. The following is the description of the original issue:
—
The vSphere CSI cloud.conf lists the single datacenter from platform workspace config but in a multi-zone setup (https://github.com/openshift/enhancements/pull/918 ) there may be more than the one datacenter.
This issue is resulting in PVs failing to attach because the virtual machines can't be find in any other datacenter. For example:
0s Warning FailedAttachVolume pod/image-registry-85b5d5db54-m78vp AttachVolume.Attach failed for volume "pvc-ab1a0611-cb3b-418d-bb3b-1e7bbe2a69ed" : rpc error: code = Internal desc = failed to find VirtualMachine for node:"rbost-zonal-ghxp2-worker-3-xm7gw". Error: virtual machine wasn't found
The machine above lives in datacenter-2 but the CSI cloud.conf is only aware of the datacenter IBMCloud.
$ oc get cm vsphere-csi-config -o yaml -n openshift-cluster-csi-drivers | grep datacenters
datacenters = "IBMCloud"
- blocks
-
OCPBUGS-5790 [vsphere-csi-driver-operator] CSI cloud.conf doesn't list multiple datacenters when specified
- Closed
- clones
-
OCPBUGS-1805 [vsphere-csi-driver-operator] CSI cloud.conf doesn't list multiple datacenters when specified
- Closed
- is blocked by
-
OCPBUGS-1805 [vsphere-csi-driver-operator] CSI cloud.conf doesn't list multiple datacenters when specified
- Closed
- is cloned by
-
OCPBUGS-5790 [vsphere-csi-driver-operator] CSI cloud.conf doesn't list multiple datacenters when specified
- Closed
- links to