Symptoms:
- Upgrading vCenter Server Appliance to 6.7 fails.
- In the var/log/vmware/upgrade/upgrade-export.log file, you see entries similar to:
2018-06-04T05:06:36.991Z Stderr: 04/06/2018 05:06:36 [ERROR] Cannot run /sbin/ifup eth0 command. Unknown error. Return code : 256 output: Make sure the interface is down or not assigned any IP
eth0 is DOWN or not assigned an IP. Bringnig eth0 up...
Can not find the manual filename, let us search for the auto filename
Performing duplicate address check for IPv4 address xx.xx.xx.xx
Error: IP already exists in the network
Unable to set the network parameters
2018-06-04T05:06:36.991Z ERROR: setnet failed : {
"detail": [
{
"id": "install.setnet.set.network.vami",
"translatable": "Error setting network. Details : %(0)s",
"localized": "Error setting network. Details : 04/06/2018 05:06:36 [ERROR] Cannot run /sbin/ifup eth0 command. Unknown error. Return code : 256 output: Make sure the interface is down or not assigned any IP\neth0 is DOWN or n
ot assigned an IP. Bringnig eth0 up...\nCan not find the manual filename, let us search for the auto filename\nPerforming duplicate address check for IPv4 address xx.xx.xx.xx\n\u001b[1;31mError: IP already exists in the network\u001b[0;39
m\n\nUnable to set the network parameters\n",
"args": [
"04/06/2018 05:06:36 [ERROR] Cannot run /sbin/ifup eth0 command. Unknown error. Return code : 256 output: Make sure the interface is down or not assigned any IP\neth0 is DOWN or not assigned an IP. Bringnig eth0 up...\nCa
n not find the manual filename, let us search for the auto filename\nPerforming duplicate address check for IPv4 address xx.xx.xx.xx\n\u001b[1;31mError: IP already exists in the network\u001b[0;39m\n\nUnable to set the network parameters\
n"
]
},
{
"id": "install.setnet.set.network",
"translatable": "Failed to set network",
"localized": "Failed to set network"
}
],
"resolution": null,
"componentKey": "setnet",
"problemId": null
}
. Stderr:
2018-06-04T05:06:37.16Z ERROR apply_networking Command /bin/python /bin/setnet --locale en --statusFile /var/log/vmware/upgrade/setnet_status.json completed with non-zero exit code 1.
2018-06-04T05:06:37.17Z INFO transfer_network Capturing network state after applying source networking.
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.