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

VM became ErrorUnschedulable for a few minutes during restoring

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • CNV v4.18.1
    • CNV v4.18.0
    • Storage Platform
    • None
    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • CNV Storage 265
    • None

      Description of problem:

      VM became ErrorUnschedulable for a few minutes during restoring 

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

      Deployed: OCP-4.18.0-ec.3
      Deployed: CNV-v4.18.0.rhel9-239

      How reproducible:

      Always 

      Steps to Reproduce:

      1. Create a VM from a datavolume sourerefing to the datasource in openshift-virtualization-os-images ns, eg: fedora
      2. Backup the VM
      3. Delete the VM
      4. Restore the VM

      Actual results:

      VM is in ErrorUnschedulable at the beginning which is confusing user, but after 8 minutes, it will be running.
      
      fedora-s   0s    WaitingForVolumeBinding   False
      fedora-s   0s    WaitingForVolumeBinding   False
      fedora-s   1s    ErrorUnschedulable        False
      fedora-s   7m33s   Starting                  False
      fedora-s   7m51s   Starting                  False
      fedora-s   7m53s   Running                   False
      fedora-s   7m53s   Running                   True
      fedora-s   8m14s   Running                   True  
      
      PVC infor when VM is in ErrorUnschedulable:
      $ oc get pvc
      NAME       STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS                                 VOLUMEATTRIBUTESCLASS   AGE
      fedora-s   Pending                                      ocs-storagecluster-ceph-rbd-virtualization   <unset>                 52s
      
      $ oc describe pvc 
      Events:
        Type     Reason                Age                From                                                                                                                Message
        ----     ------                ----               ----                                                                                                                -------
        Normal   Provisioning          30s (x7 over 56s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-7d7cc98857-vg9bv_e89787d8-a235-4c87-954f-47a36972743f  External provisioner is provisioning volume for claim "test/fedora-s"
        Warning  ProvisioningFailed    30s (x7 over 56s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-7d7cc98857-vg9bv_e89787d8-a235-4c87-954f-47a36972743f  failed to provision volume with StorageClass "ocs-storagecluster-ceph-rbd-virtualization": claim Selector is not supported
        Normal   ExternalProvisioning  7s (x8 over 56s)   persistentvolume-controller                                                                                         Waiting for a volume to be created either by the external provisioner 'openshift-storage.rbd.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.

      Expected results:

      Should not show ErrorUnschedulable status

      Additional info:

      VM and VMI yaml attached.

        1. virtpod.yaml
          9 kB
        2. virt_pod_pending.yaml
          7 kB
        3. virt_pod_pending_describe.log
          6 kB
        4. virt_pod_log.txt
          35 kB
        5. restore_vmi.yaml
          4 kB
        6. restore_vm.yaml
          3 kB
        7. describe_pod.txt
          9 kB

              akalenyu Alex Kalenyuk
              yadu1@redhat.com Yan Du
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: