XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 2.10.0
    • 2.10.0
    • Controller
    • MTV Sprint 3, MTV Sprint 4

      Description of problem:

      Try to cold migrate a VM with 1 interface with dhcp, map the VM network to default network, set "Preserve static IPs: false or true"

      Plan failed before the Initialize phase with error below:

          vms:
          - completed: "2025-09-29T02:25:24Z"
            conditions:
            - category: Advisory
              durable: true
              lastTransitionTime: "2025-09-29T02:25:21Z"
              message: The VM migration has FAILED.
              status: "True"
              type: Failed
            error:
              phase: CreateDataVolumes
              reasons:
              - Next step 'DiskTransfer' not found

      Forklift controller pod with logs:

      {"level":"info","ts":"2025-09-29 02:44:23.999","logger":"migrator","msg":"Built migrator.","plan":"openshift-mtv/cold-win2022-dhcp","type":"vsphere"} 
      {"level":"info","ts":"2025-09-29 02:44:24.002","logger":"plan|xs2cf","msg":"Migration ignored.","plan":{"name":"cold-win2022-dhcp","namespace":"openshift-mtv"},"migration":"openshift-mtv/cold-win2022-dhcp-hxstm"}

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

      MTV 2.10.0-12(IIB: forklift-fbc-prod-v420:on-pr-9b44168a11bbe06db5adb7668f64592beb05fb67) with CNV 4.20.0

      How reproducible:

      Always

      Steps to Reproduce:

      1) Create a VM: mtv-feature-win2022-dhcp with 1 interface with dhcp enabled

      2) Create a cold migration plan: cold-win2022-dhcp to migrate VM: mtv-feature-win2022-dhcp from vCenter7 to OCP cluster, map the VM network to "default network", get warning message as the "Preserve static Ips" is enabled by default

      3) Change the "Preserve static IPs" to false, no warning message, the plan is ready

      $oc get plan cold-win2022-dhcp -o yaml|grep preserveStaticIPs
        preserveStaticIPs: false

      4) Start the migration, it failed before the Initialize phase

      5) Check the plan with error below, more details in attached files: plan-cold-win2022-dhcp.yaml, migration-cold-win2022-dhcp-hxstm.yaml, forklift-controller-64d5bf4478-ffq9z-main.log

      $oc get plan cold-win2022-dhcp -o yaml
      ......
      vms:
          - completed: "2025-09-29T02:25:24Z"
            conditions:
            - category: Advisory
              durable: true
              lastTransitionTime: "2025-09-29T02:25:21Z"
              message: The VM migration has FAILED.
              status: "True"
              type: Failed
            error:
              phase: CreateDataVolumes
              reasons:
              - Next step 'DiskTransfer' not found
            id: vm-2378
            luks: {}
            name: mtv-feature-win2022-dhcp
            phase: Completed
      Forklift-controller pod log:
      .....
      {"level":"info","ts":"2025-09-29 02:44:23.999","logger":"migrator","msg":"Built migrator.","plan":"openshift-mtv/cold-win2022-dhcp","type":"vsphere"}
      {"level":"info","ts":"2025-09-29 02:44:24.002","logger":"plan|xs2cf","msg":"Migration ignored.","plan":{"name":"cold-win2022-dhcp","namespace":"openshift-mtv"},"migration":"openshift-mtv/cold-win2022-dhcp-hxstm"}
      {"level":"info","ts":"2025-09-29 02:44:24.002","logger":"plan|xs2cf","msg":"No pending migrations found.","plan":{"name":"cold-win2022-dhcp","namespace":"openshift-mtv"}}
      {"level":"info","ts":"2025-09-29 02:44:24.010","logger":"plan|xs2cf","msg":"Reconcile ended.","plan":{"name":"cold-win2022-dhcp","namespace":"openshift-mtv"},"reQ":3}

      6) Clone the plan to cold-win2022-dhcp-true, set the Preserve static IPs: true, failed to migrate VM, hit the same error.

      Actual results:

      In step4: Failed to migrate VM

      Expected results:

      In step4: Migrate VM successfully

      Additional info:

       

        1. image-2025-09-28-20-55-29-492.png
          60 kB
          Chenli Hu
        2. image-2025-09-29-10-29-01-691.png
          61 kB
          Chenli Hu
        3. plan-cold-win2022-dhcp.yaml
          7 kB
          Chenli Hu
        4. migration-cold-win2022-dhcp-hxstm.yaml
          4 kB
          Chenli Hu
        5. forklift-controller-64d5bf4478-ffq9z-main.log
          847 kB
          Chenli Hu

              rh-ee-solenoci Stefan Olenocin
              chhu@redhat.com Chenli Hu
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: