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)
- is cloned by
-
MTV-3304 [2.9] Duplicate default persistent routes exist in VM after migration
-
- Closed
-