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

[vSphere CSI Driver] [zonal] Volume provisioning failed with: No compatible datastores found for accessibility requirements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.15.0
    • 4.15
    • Storage / Operators
    • None
    • Critical
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      In the vSphere zonal cluster, the volume provisioning failed with error:

        Warning ProvisioningFailed <invalid> (x5 over <invalid>) csi.vsphere.vmware.com_vmware-vsphere-csi-driver-controller-6cdc4b5bc8-cvrh6_19d3a2c9-3222-4982-b975-e5a813b79461 failed to provision volume with StorageClass "thin-csi": rpc error: code = Internal desc = failed to create volume. Errors encountered: [No compatible datastores found for accessibility requirements [map[topology.csi.vmware.com/openshift-region:region-A topology.csi.vmware.com/openshift-zone:zone-B]] pertaining to vCenter "ocp-storage.vmc.qe.devcluster.openshift.com"]

      I have two zones and in one zone the provisioning succeeded but in another it failed:

      oc get pvc -A
      NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
      wduan-1 myclaim Pending thin-csi 33m
      wduan myclaim Bound pvc-662c6c6a-c263-40dc-8f4b-2db88f92f0d7 1Gi RWO thin-csi 34m

      See driver

          Version-Release number of selected component (if applicable):{code:none}
      
          

      How reproducible:

      Always
      
          

      Steps to Reproduce:

          1. Deploy mz clusters in vsphere
          2.
          3.
          

      Actual results:

      Volume provisioning does not work in one of the zones
          

      Expected results:

      Volume provisioning should work
          

      Additional info:

      
          

            hekumar@redhat.com Hemant Kumar
            wduan@redhat.com Wei Duan
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: