Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-52080

[MTC]PVC is pending when migrate a VM from OCS to HPP StorageClass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • CNV v4.18.0
    • CNV v4.18.0
    • Storage Platform
    • None
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV Storage 267
    • None

      Description of problem:

      PVC is pending when migrate a VM from OCS to HPP StorageClass

      Version-Release number of selected component (if applicable):

      CNV-v4.18.0.rhel9-351
      MTC 1.8.5-16
      
      

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM with ocs-storagecluster-ceph-rbd-virtualization SC
      2. Create a migplan, set target SC is hostpath-csi-basic
      3. Stage/cutover the migplan
      

      Actual results:

      $ oc get pvc
      NAME               STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS                                 VOLUMEATTRIBUTESCLASS   AGE
      fedora1            Bound     pvc-700d1255-4809-4be4-b21e-a89052fe20e4   30Gi       RWO            ocs-storagecluster-ceph-rbd-virtualization   <unset>                 14m
      fedora1-mig-r8pz   Pending                                                                        hostpath-csi-basic                           <unset>                 113s
      
      
      Events:
        Type     Reason                Age                From                                                                                                  Message
        ----     ------                ----               ----                                                                                                  -------
        Normal   WaitForFirstConsumer  68s (x3 over 86s)  persistentvolume-controller                                                                           waiting for first consumer to be created before binding
        Normal   Provisioning          32s (x6 over 63s)  kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-2gc2n_65caab65-b9eb-475a-bf95-58e9b9bb9952  External provisioner is provisioning volume for claim "test1/fedora1-mig-r8pz"
        Warning  ProvisioningFailed    32s (x6 over 63s)  kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-2gc2n_65caab65-b9eb-475a-bf95-58e9b9bb9952  failed to provision volume with StorageClass "hostpath-csi-basic": rpc error: code = InvalidArgument desc = must have mount access type
        Normal   ExternalProvisioning  13s (x5 over 63s)  persistentvolume-controller                                                                           Waiting for a volume to be created either by the external provisioner 'kubevirt.io.hostpath-provisioner' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.

      Expected results:

      PVC is bound, migration succeeded

      Additional info:

       

              rhn-support-awels Alexander Wels
              yadu1@redhat.com Yan Du
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: