Symptoms:
- Upgrade of vCenter Server Appliance to 6.7 U3 fails at 50% at applying network.
- In the stderr log file, you see entries similar to:
:
2019-09-25T08:44:18.788Z INFO transfer_network Network state before applying source networking has been successfully captured.
2019-09-25T08:44:18.788Z INFO apply_networking Because of Photon OS the network configuration flags are STATICV4+NONEV6 instead of STATICV4, so pruning the "+NONEV6" part.
2019-09-25T08:44:19.360Z INFO upgrade_parameters 'appliance.net.mode' successfully set to static
2019-09-25T08:44:19.950Z INFO upgrade_parameters 'appliance.net.addr.family' successfully set to ipv4
2019-09-25T08:44:20.521Z INFO upgrade_parameters 'appliance.net.addr' successfully set to 192.168.1.91
2019-09-25T08:44:21.147Z INFO upgrade_parameters 'appliance.net.prefix' successfully set to 255.255.255.0
2019-09-25T08:44:21.717Z INFO upgrade_parameters 'appliance.net.gateway' successfully set to
2019-09-25T08:44:22.296Z INFO upgrade_parameters 'appliance.net.dns.servers' successfully set to 127.0.0.1,192.168.44.12,192.168.44.11
2019-09-25T08:44:22.297Z WARNING apply_networking There are no DNS search extensions to be set
2019-09-25T08:44:22.872Z INFO upgrade_parameters 'appliance.net.pnid' successfully set to sk82.skadm.int
2019-09-25T08:44:22.873Z INFO apply_networking Appliance network configuration install parameters successfully set
2019-09-25T08:44:22.874Z INFO apply_networking Executing command /bin/python /bin/setnet --locale en --statusFile /var/log/vmware/upgrade/setnet_status.json.
2019-09-25T08:44:23.552Z INFO apply_networking Command /bin/python /bin/setnet --locale en --statusFile /var/log/vmware/upgrade/setnet_status.json completed - Stdout:2019-09-25T08:44:23.513Z Getting value for install-parameter: applianc
e.net.addr.family
2019-09-25T08:44:23.514Z ipv4
2019-09-25T08:44:23.514Z Getting value for install-parameter: appliance.net.mode
2019-09-25T08:44:23.514Z appliance.net.mode is set to 'static'
2019-09-25T08:44:23.515Z Getting value for install-parameter: appliance.net.addr
2019-09-25T08:44:23.515Z Getting value for install-parameter: appliance.net.prefix
2019-09-25T08:44:23.515Z Getting value for install-parameter: appliance.net.gateway
2019-09-25T08:44:23.516Z ERROR: No gateway provided for static mode.
2019-09-25T08:44:23.516Z ERROR: setnet failed : {
"componentKey": "setnet",
"detail": [
{
"translatable": "Ensure that you provide addresses, prefix and gateway settings in the static configuration.",
"id": "install.setnet.set.network.invinput",
"localized": "Ensure that you provide addresses, prefix and gateway settings in the static configuration."
},
{
"translatable": "Failed to set network",
"id": "install.setnet.set.network",
"localized": "Failed to set network"
}
],
"problemId": null,
"resolution": null
}
2019-09-25T08:44:23.585Z ERROR transfer_network Fatal user displayable error during upgrade network transferred.
Traceback (most recent call last):
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/transfer_network.py", line 1218, in execute
revertNetworkingScript)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/transfer_network.py", line 787, in _applyNetworking
applyLegacyNetworking(networkConfig)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/apply_networking.py", line 763, in applyLegacyNetworking
_raiseSetnetError(error)
File "/usr/lib/vmware/cis_upgrade_runner/bootstrap_scripts/apply_networking.py", line 673, in _raiseSetnetError
problemId=problemId)
apply_networking.UserUpgradeNetworkConfigError: [Ensure that you provide addresses, prefix and gateway settings in the static configuration., Failed to set network]