Applying networking configuration" fails with error: "Failed to set network" /var/log/vmware/upgrade/upgrade-export.log shows below errors YYYY-MM-DDThh:mm:ss.Z ERROR transfer_network Fatal error during upgrade network transferred.
Traceback (most recent call last):
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/transfer_network.py", line 1327, in execute
_validateNetworkConfiguration(networkConfig)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/transfer_network.py", line 969, in _validateNetworkConfiguration
raise NetworkConfigError(error)
apply_networking.NetworkConfigError: Could not migrate IPv4 network configuration.
If the vCenter server is initially deployed with IPV4 settings and later the vCenter IP address was changed to IPV6 . The file in /etc/vmware/install-defaults "appliance.net.addr.family" does not change its value from ipv4 to ipv6 automatically
To resolve the issue, change the value of the appliance.net.addr.family file in the source vCenter server.
Perform the below steps
root.shell to enter in shell mode Type cd /etc/vmware/install-defaultsvi appliance.net.addr.family ipv4 to ipv6:wq!NOTE: - Before making any changes, take snapshot of the vCenter server. If the VCs are in ELM, take offline snapshot in powered off state.