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

[CCLM] "VMPowerStateUnsupported" and "MAC address conflicts" error after migration succeeded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 2.10.z
    • 2.10.0
    • Controller
    • None

      Description of problem:

      CCLM'ed a Running VM, Migration succeeded, and then we got:
      
          message: VM power state is incompatible with the selected migration type.
          reason: NotSupported
          status: "True"
          type: VMPowerStateUnsupported
      
      
          message: 'VM  id:28ee19d1-a103-411a-ae6c-46efb726c0a0 name:''fedora-cyan-seahorse-34''  has
            MAC address conflicts: MACs 02:16:81:35:d3:29 conflict with destination VM test-ns/fedora-cyan-seahorse-34'
          reason: NotValid
          status: "True"
          type: MacConflicts 

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

      2.10.0, build from around Sept 1

      How reproducible:

      Always

      Steps to Reproduce:

      1. CCLM a Running VM
      2.
      3.
      

      Actual results:

      $ oc get plan -n openshift-mtv mig-live-vm -oyaml
      apiVersion: forklift.konveyor.io/v1beta1
      kind: Plan
      metadata:
        annotations:
          populatorLabels: "True"
        creationTimestamp: "2025-09-02T14:28:58Z"
        generation: 1
        name: mig-live-vm
        namespace: openshift-mtv
        resourceVersion: "1202523"
        uid: c2e2281c-b88c-401f-8fbd-b2d6093d634c
      spec:
        map:
          network:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: NetworkMap
            name: net-map
            namespace: openshift-mtv
            uid: 609cef73-3fc7-4784-a976-b3af38f219d3
          storage:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: StorageMap
            name: stg-map
            namespace: openshift-mtv
            uid: 40263bc7-c42a-4d27-8701-0abe1b79a2a3
        migrateSharedDisks: true
        provider:
          destination:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: Provider
            name: host
            namespace: openshift-mtv
            uid: 04810ea4-dee1-44c5-943b-e36cc31cb5fa
          source:
            apiVersion: forklift.konveyor.io/v1beta1
            kind: Provider
            name: bm13a-source
            namespace: openshift-mtv
            uid: 4ec828c2-90d1-4cf0-b218-24ebaaa38875
        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: da2c6663-a38f-4098-8544-0aa135f0f7da
        type: live
        useCompatibilityMode: true
        vms:
        - id: 28ee19d1-a103-411a-ae6c-46efb726c0a0
          name: fedora-cyan-seahorse-34
          namespace: test-ns
        warm: false
      status:
        conditions:
        - category: Advisory
          durable: true
          lastTransitionTime: "2025-09-02T14:31:15Z"
          message: The plan execution has SUCCEEDED.
          status: "True"
          type: Succeeded
        - category: Critical
          items:
          - ' id:28ee19d1-a103-411a-ae6c-46efb726c0a0 name:''fedora-cyan-seahorse-34'' '
          lastTransitionTime: "2025-09-02T14:31:18Z"
          message: 'VM  id:28ee19d1-a103-411a-ae6c-46efb726c0a0 name:''fedora-cyan-seahorse-34''  has
            MAC address conflicts: MACs 02:16:81:35:d3:29 conflict with destination VM test-ns/fedora-cyan-seahorse-34'
          reason: NotValid
          status: "True"
          type: MacConflicts
        - category: Critical
          items:
          - ' id:28ee19d1-a103-411a-ae6c-46efb726c0a0 name:''fedora-cyan-seahorse-34'' '
          lastTransitionTime: "2025-09-02T14:31:21Z"
          message: VM power state is incompatible with the selected migration type.
          reason: NotSupported
          status: "True"
          type: VMPowerStateUnsupported
        migration:
          completed: "2025-09-02T14:31:15Z"
          history:
          - conditions:
            - category: Advisory
              durable: true
              lastTransitionTime: "2025-09-02T14:31:15Z"
              message: The plan execution has SUCCEEDED.
              status: "True"
              type: Succeeded
            map:
              network:
                generation: 1
                name: net-map
                namespace: openshift-mtv
                uid: 609cef73-3fc7-4784-a976-b3af38f219d3
              storage:
                generation: 1
                name: stg-map
                namespace: openshift-mtv
                uid: 40263bc7-c42a-4d27-8701-0abe1b79a2a3
            migration:
              generation: 1
              name: mig-live-vm-7mbqk
              namespace: openshift-mtv
              uid: 470bcbea-61a7-4b93-942e-218074289bc0
            plan:
              generation: 1
              name: mig-live-vm
              namespace: openshift-mtv
              uid: c2e2281c-b88c-401f-8fbd-b2d6093d634c
            provider:
              destination:
                generation: 1
                name: host
                namespace: openshift-mtv
                uid: 04810ea4-dee1-44c5-943b-e36cc31cb5fa
              source:
                generation: 1
                name: bm13a-source
                namespace: openshift-mtv
                uid: 4ec828c2-90d1-4cf0-b218-24ebaaa38875
          started: "2025-09-02T14:30:27Z"
          vms:
          - completed: "2025-09-02T14:31:15Z"
            conditions:
            - category: Advisory
              durable: true
              lastTransitionTime: "2025-09-02T14:31:15Z"
              message: The VM migration has SUCCEEDED.
              status: "True"
              type: Succeeded
            id: 28ee19d1-a103-411a-ae6c-46efb726c0a0
            luks: {}
            name: fedora-cyan-seahorse-34
            namespace: test-ns
            phase: Completed
            pipeline:
            - completed: "2025-09-02T14:30:27Z"
              description: Initialize migration.
              name: Initialize
              phase: Completed
              progress:
                completed: 0
                total: 1
              started: "2025-09-02T14:30:27Z"
            - completed: "2025-09-02T14:30:40Z"
              description: Prepare target namespace.
              name: PrepareTarget
              phase: Completed
              progress:
                completed: 0
                total: 1
              started: "2025-09-02T14:30:40Z"
            - completed: "2025-09-02T14:31:15Z"
              description: Synchronize source and target VMs.
              name: Synchronization
              phase: Completed
              progress:
                completed: 0
                total: 1
              started: "2025-09-02T14:31:15Z"
            started: "2025-09-02T14:30:27Z"
        observedGeneration: 1
      

      Expected results:

      Migration succeeded (errors reported only if they are real)

      Additional info:

       

              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: