Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3131

CCLM: Plan is not ready with "VM is incompatible with the selected migration type"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.10.0
    • 2.10.0
    • Controller
    • None
    • Critical

      MTV v2.10.0:  quay.io/redhat-user-workloads/rh-mtv-1-tenant/forklift-fbc-prod-v420:on-pr-797a53d33c4ea475ec86ab29aea1fc3a36ca537c

      $ oc get plan -n openshift-mtv mig-from-bm13a-1 -oyaml
      apiVersion: forklift.konveyor.io/v1beta1
      kind: Plan
      metadata:
        annotations:
          populatorLabels: "True"
        creationTimestamp: "2025-08-12T12:38:22Z"
        generation: 1
        name: mig-from-bm13a-1
        namespace: openshift-mtv
        resourceVersion: "4793277"
        uid: 837f7361-f402-4a73-af63-3557dcadeeb1
      spec:
        map:
          network:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: NetworkMap
            name: net-map
            namespace: openshift-mtv
            uid: e8167990-2403-4a12-ab6e-aa5804608e10
          storage:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: StorageMap
            name: stg-map
            namespace: openshift-mtv
            uid: 8b971131-c915-4acf-8ac1-b7cc620cd4bb
        migrateSharedDisks: true
        provider:
          destination:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: Provider
            name: host
            namespace: openshift-mtv
            uid: a07acb69-4198-4bc5-942b-d9ee4d6b5c81
          source:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: Provider
            name: bm13a-ocp-provider
            namespace: openshift-mtv
            uid: 016a8e47-c89a-4727-b28c-ec235c5f388c
        pvcNameTemplateUseGenerateName: true
        skipGuestConversion: false
        targetNamespace: test-ns
        targetPowerState: auto
        transferNetwork:
          apiVersion: k8s.cni.cncf.io/v1
          kind: NetworkAttachmentDefinition
          name: lm-network
          namespace: openshift-cnv
          uid: 0236aa7d-02e4-42ca-a361-cbdc0bbdb31b
        type: live
        useCompatibilityMode: true
        vms:
        - id: f87778aa-503b-4f64-8cea-313d61fafa7c
          name: fedora-tan-badger-81
          namespace: test-ns
        warm: false
      status:
        conditions:
        - category: Critical
          items:
          - ' id:f87778aa-503b-4f64-8cea-313d61fafa7c name:''fedora-tan-badger-81'' '
          lastTransitionTime: "2025-08-12T12:38:22Z"
          message: VM is incompatible with the selected migration type.
          reason: NotSupported
          status: "True"
          type: VMMigrationTypeUnsupported
        migration: {}
        observedGeneration: 1

      VMI:

      $ oc get vmi -n test-ns fedora-tan-badger-81 -oyaml
      apiVersion: kubevirt.io/v1
      kind: VirtualMachineInstance
      metadata:
        annotations:
          kubevirt.io/cluster-instancetype-name: u1.small
          kubevirt.io/cluster-preference-name: fedora
          kubevirt.io/latest-observed-api-version: v1
          kubevirt.io/nonroot: "true"
          kubevirt.io/storage-observed-api-version: v1
          kubevirt.io/vm-generation: "1"
          vm.kubevirt.io/os: linux
        creationTimestamp: "2025-08-12T12:29:13Z"
        finalizers:
        - kubevirt.io/virtualMachineControllerFinalize
        - foregroundDeleteVirtualMachine
        generation: 56
        labels:
          kubevirt.io/nodeName: cnvqe-073.lab.eng.tlv2.redhat.com
          network.kubevirt.io/headlessService: headless
        name: fedora-tan-badger-81
        namespace: test-ns
        ownerReferences:
        - apiVersion: kubevirt.io/v1
          blockOwnerDeletion: true
          controller: true
          kind: VirtualMachine
          name: fedora-tan-badger-81
          uid: f87778aa-503b-4f64-8cea-313d61fafa7c
        resourceVersion: "4716675"
        uid: 56151e98-d88d-44b6-80e2-14a8122f2451
      spec:
        architecture: amd64
        domain:
          cpu:
            cores: 1
            maxSockets: 4
            model: host-model
            sockets: 1
            threads: 1
          devices:
            autoattachPodInterface: false
            disks:
            - disk:
                bus: virtio
              name: rootdisk
            - disk:
                bus: virtio
              name: cloudinitdisk
            interfaces:
            - macAddress: 02:5e:a0:d4:db:02
              masquerade: {}
              model: virtio
              name: default
            rng: {}
          features:
            acpi:
              enabled: true
            smm:
              enabled: true
          firmware:
            bootloader:
              efi:
                secureBoot: true
            uuid: 23e2cd39-cd61-4bf1-8e81-126b4adc48b6
          machine:
            type: pc-q35-rhel9.6.0
          memory:
            guest: 2Gi
            maxGuest: 8Gi
          resources:
            requests:
              memory: 2Gi
        evictionStrategy: LiveMigrate
        networks:
        - name: default
          pod: {}
        subdomain: headless
        volumes:
        - dataVolume:
            name: fedora-tan-badger-81-volume
          name: rootdisk
        - cloudInitNoCloud:
            userData: |
              #cloud-config
              chpasswd:
                expire: false
              password: lnd6-bd5z-pfit
              user: fedora
          name: cloudinitdisk
      status:
        activePods:
          6f357018-f0df-4cf0-8250-e75ea765ce15: cnvqe-073.lab.eng.tlv2.redhat.com
          3183d751-a117-4823-b4e9-28305a02bec7: cnvqe-075.lab.eng.tlv2.redhat.com
          8456a6f9-5afa-44d5-9640-0ff28f81c2be: cnvqe-075.lab.eng.tlv2.redhat.com
          08895026-0a20-4127-8c42-4d6179e47024: cnvqe-073.lab.eng.tlv2.redhat.com
          ec421bb3-03a7-4277-823f-8627a21e2f93: cnvqe-073.lab.eng.tlv2.redhat.com
        conditions:
        - lastProbeTime: null
          lastTransitionTime: "2025-08-12T12:33:31Z"
          status: "True"
          type: Ready
        - lastProbeTime: null
          lastTransitionTime: null
          message: All of the VMI's DVs are bound and ready
          reason: AllDVsReady
          status: "True"
          type: DataVolumesReady
        - lastProbeTime: null
          lastTransitionTime: null
          status: "True"
          type: LiveMigratable
        - lastProbeTime: null
          lastTransitionTime: null
          status: "True"
          type: StorageLiveMigratable
        - lastProbeTime: "2025-08-12T12:29:37Z"
          lastTransitionTime: null
          status: "True"
          type: AgentConnected
        currentCPUTopology:
          cores: 1
          sockets: 1
          threads: 1
        guestOSInfo:
          id: fedora
          kernelRelease: 6.14.0-63.fc42.x86_64
          kernelVersion: '#1 SMP PREEMPT_DYNAMIC Mon Mar 24 19:53:37 UTC 2025'
          machine: x86_64
          name: Fedora Linux
          prettyName: Fedora Linux 42 (Cloud Edition)
          version: 42 (Cloud Edition)
          versionId: "42"
        interfaces:
        - infoSource: domain, guest-agent
          interfaceName: enp1s0
          ipAddress: 10.130.0.81
          ipAddresses:
          - 10.130.0.81
          - fd02:0:0:3::e15
          linkState: up
          mac: 02:5e:a0:d4:db:02
          name: default
          podInterfaceName: eth0
          queueCount: 1
        launcherContainerImageVersion: registry.redhat.io/container-native-virtualization/virt-launcher-rhel9@sha256:3d619787d670d9b026aae66c8ad0b31a87389ee33165e3e189b71a2b62878e3b
        machine:
          type: pc-q35-rhel9.6.0
        memory:
          guestAtBoot: 2Gi
          guestCurrent: 2Gi
          guestRequested: 2Gi
        migrationMethod: BlockMigration
        migrationState:
          completed: true
          endTimestamp: "2025-08-12T12:33:30Z"
          migrationConfiguration:
            allowAutoConverge: false
            allowPostCopy: false
            allowWorkloadDisruption: false
            bandwidthPerMigration: "0"
            completionTimeoutPerGiB: 150
            network: lm-network
            nodeDrainTaintKey: kubevirt.io/drain
            parallelMigrationsPerCluster: 5
            parallelOutboundMigrationsPerNode: 2
            progressTimeout: 150
            unsafeMigrationOverride: false
          migrationUid: ceff03aa-5c77-4f03-99e4-cf0696d806d8
          mode: PreCopy
          sourceNode: cnvqe-075.lab.eng.tlv2.redhat.com
          sourcePod: virt-launcher-fedora-tan-badger-81-f8scj
          startTimestamp: "2025-08-12T12:33:28Z"
          targetDirectMigrationNodePorts:
            "38075": 0
            "39807": 49153
            "45791": 49152
          targetNode: cnvqe-073.lab.eng.tlv2.redhat.com
          targetNodeAddress: 192.168.112.128
          targetNodeDomainDetected: true
          targetNodeDomainReadyTimestamp: "2025-08-12T12:33:30Z"
          targetPod: virt-launcher-fedora-tan-badger-81-q2fsx
        migrationTransport: Unix
        nodeName: cnvqe-073.lab.eng.tlv2.redhat.com
        phase: Running
        phaseTransitionTimestamps:
        - phase: Pending
          phaseTransitionTimestamp: "2025-08-12T12:29:13Z"
        - phase: Scheduling
          phaseTransitionTimestamp: "2025-08-12T12:29:13Z"
        - phase: Scheduled
          phaseTransitionTimestamp: "2025-08-12T12:29:23Z"
        - phase: Running
          phaseTransitionTimestamp: "2025-08-12T12:29:25Z"
        qosClass: Burstable
        runtimeUser: 107
        selinuxContext: system_u:object_r:container_file_t:s0:c46,c280
        virtualMachineRevisionName: revision-start-vm-f87778aa-503b-4f64-8cea-313d61fafa7c-1
        volumeStatus:
        - name: cloudinitdisk
          size: 1048576
          target: vdb
        - name: rootdisk
          persistentVolumeClaimInfo:
            accessModes:
            - ReadWriteMany
            capacity:
              storage: 30Gi
            claimName: fedora-tan-badger-81-volume
            filesystemOverhead: "0"
            requests:
              storage: "32212254720"
            volumeMode: Block
          target: vda 

              slucidi@redhat.com Samuel Lucidi
              jpeimer@redhat.com Jenia Peimer
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: