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

Failed VMIM does not explain the failure reason

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • CNV v4.16.0
    • CNV v4.14.0
    • CNV Virtualization
    • None
    • CNV Virtualization Sprint 249, CNV Virtualization Sprint 250
    • No

      When a live migration of a VM is failed, the VirtualMachineInstanceMigration custom resource does not state the reason that caused the migration to fail, which makes it hard to debug.

      Currently the VMIM looks like this:

      apiVersion: kubevirt.io/v1
      kind: VirtualMachineInstanceMigration
      metadata:
        annotations:
          kubevirt.io/latest-observed-api-version: v1
          kubevirt.io/storage-observed-api-version: v1
          kubevirt.io/workloadUpdateMigration: ""
        creationTimestamp: "2023-11-27T05:55:26Z"
        generateName: kubevirt-workload-update-
        generation: 1
        labels:
          kubevirt.io/vmi-name: rhel9-colonial-shark
        name: kubevirt-workload-update-4tnj9
        namespace: orenc
        resourceVersion: "2205490428"
        uid: 2556fd1e-7f0a-493a-b2af-c2698f4ae564
      spec:
        vmiName: rhel9-colonial-shark
      status:
        phase: Failed
        phaseTransitionTimestamps:
        - phase: Pending
          phaseTransitionTimestamp: "2023-11-27T05:55:26Z"
        - phase: Scheduling
          phaseTransitionTimestamp: "2023-11-27T07:23:54Z"
        - phase: Failed
          phaseTransitionTimestamp: "2023-11-27T07:28:53Z" 

      Which is not very helpful, just saying the migration has failed after 4 minutes and 59 seconds.

      If at least we could see there the progress percentage, we could know it's a performance issue and configure LiveMigration settings accordingly.

              jelejosne Jed Lejosne
              ocohen@redhat.com Oren Cohen
              Zhe Peng Zhe Peng
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: