-
Bug
-
Resolution: Unresolved
-
Blocker
-
2.10.0
-
Quality / Stability / Reliability
-
3
-
False
-
-
True
-
-
-
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: