Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4609

[vsphere-csi-driver-operator] CSI cloud.conf doesn't list multiple datacenters when specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • 4.12.z
    • 4.12
    • Storage / Operators
    • None
    • False
    • Hide

      None

      Show
      None

    Description

      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" 

       

      Attachments

        Issue Links

          Activity

            People

              hekumar@redhat.com Hemant Kumar
              openshift-crt-jira-prow OpenShift Prow Bot
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: