Error: IP already exists in the network. Unable to set the network parameters"var/log/vmware/upgrade/upgrade-export.log you see entries similar to:YYYY-MM-DDTHH:MIN INFO upgrade_commands Shutting down source machine [vCenter FQDN]YYYY-MM-DDTHH:MIN INFO networking_utils isHostReachable(): getaddrinfo() found 1 entries (first is used): FAMILY: AddressFamily.AF_INET, TYPE=SocketKind.SOCK_STREAM, PROTO=6, CANONNAME=, ADDR=('vCenter IP', 22)YYYY-MM-DDTHH:MIN ERROR networking_utils isHostReachable() failed: [TimeoutError]: "timed out", treating as unreachable hostYYYY-MM-DDTHH:MIN INFO upgrade_commands Source machine is down, waiting for 60 additional seconds to make sure it is completely down.YYYY-MM-DDTHH:MIN INFO upgrade_commands Shutdown completed successfully.
/var/log/vmware/upgrade/export.json you see entries similar to:YYYY-MM-DDTHH:MIN Stderr: YYYY-MM-DD HH:MIN [ERROR] Cannot run /sbin/ifup eth0 command. Unknown error. Return code:256 output: Make sure the interface is down or not assigned any IPeth0 is DOWN or not assigned an IP. Bringnig eth0 up...Can not find the manual filename, let us search for the auto filenamePerforming duplicate address check for IPv4 address <vCenter IP address>Error: IP already exists in the networkUnable to set the network parameters
VMware vCenter Server
Follow the below steps if the issue occurs when the upgrade fails while the source vCenter is still shutting down:
Note: If the above does not work, there may be another device with the same source vCenter IP on the network.
arping -D -I eth0 -c 2 <vCenter IP address>echo $?arping command:ARPING <vCenter IP address> from <Linux machine IP> ens192Unicast reply from <vCenter IP address> [MAC Address 1] 0.751msUnicast reply from <vCenter IP address> [MAC Address 2] 1.768ms
To explain, the above output shows two MAC address mentioned for one vCenter IP. Correlate the MAC address in use by vCenter server from ifconfig command and contact on-premises network administrator. Once done, reinitiate vCenter upgrade.
This can also occur if there is a network issue between the new and old vCenters. Retry the upgrade, but make sure to place the new vCenter on the same host as the old vCenter in order to assure that the transfer operations do not use the physical network and the connection does not get "timed out".