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

Duplicate default persistent routes exist in VM after migration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.10.0
    • None
    • Guest
    • MTV Sprint 2
    • +

      Description of problem:

      Prepare a VM with static ip and gateway settings, after cold migration with preserve static ip: on, it creates a new persistent route without deleting the old one, thus two duplicate persistent routes existed in VM. (The new create route is the active route)

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

      MTV 2.8.2

      How reproducible:

      100%
      

      Steps to Reproduce:

      1)Prepare a VM: mtv-func-win2019-v1 with static ip settings on vCenter7

      ip address: 192.168.190.101 default GW: 192.168.190.1 DNS: 192.168.190.10, 192.168.10.20

      2)Create a cold migration plan: cold-win2019 to migrate VM: "mtv-func-win2019-v1" from vCenter7 to ocp cluster, plan executed successfully

      3) Login to VM on target cluster, check the route table, there is a new persistent route created as the default route.  Two lines in the persistent routes for same network, we need to delete the old persistent route

      4) Check the network-configure script, it use the New-NetIPAddress command line to set ip address and default gateway

      5) Cold migrate VM with Preserve static ip: off, check the VM on target cluster, the interface static ip changed to dhcp, the persistent route exists in target VM (Without running the network-configure script as set preserve static ip off)

        1. image-2025-04-25-10-13-48-745.png
          21 kB
          Chenli Hu
        2. image-2025-04-25-10-16-27-314.png
          110 kB
          Chenli Hu
        3. image-2025-04-25-10-21-13-190.png
          5 kB
          Chenli Hu
        4. image-2025-04-25-10-21-42-958.png
          4 kB
          Chenli Hu
        5. image-2025-04-25-10-26-40-761.png
          19 kB
          Chenli Hu
        6. image-2025-04-25-10-27-09-612.png
          20 kB
          Chenli Hu
        7. image-2025-04-25-13-53-19-546.png
          57 kB
          Chenli Hu
        8. image-2025-04-25-14-39-04-691.png
          13 kB
          Chenli Hu
        9. cold-win2019-vm-249-l9trl-virt-v2v.log
          6.83 MB
          Chenli Hu
        10. image-2025-08-28-18-06-53-835.png
          26 kB
          Chenli Hu
        11. image-2025-09-02-14-02-30-081.png
          23 kB
          Chenli Hu
        12. image-2025-09-02-14-03-44-158.png
          142 kB
          Chenli Hu
        13. image-2025-09-02-14-08-30-083.png
          131 kB
          Chenli Hu

              rh-ee-ehazan Elad Hazan
              chhu@redhat.com Chenli Hu
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: