To work around this issue, reboot the ESXi host in question or manually enter It into maintenance mode or exit it from maintenance mode, depending upon the stage at which the update failed.
This issue can occur due to various reasons. A contributing factor to this issue is the communication between the VRM VM and the ESXi host being upgraded breaks. Therefore, the VRM can no longer send instructions to the ESXi host and the upgrade fails.
Depending upon the stage at which the upgrade fails, do the following:
- Failed at Entering Maintenance mode:
- Manually put the host in maintenance mode from the vCenter (In the vSphere Client inventory.
- Right-click a host and select Enter Maintenance Mode.
- Restart the workflow.
- Failed at Exiting Maintenance mode:
- Manually take out the host from maintenance mode,
- In the vSphere Client inventory, right-click a host and select Exit Maintenance Mode.
- Restart the workflow.
- Failed at Rebooting Host:
- Manually reboot the host.
- Right-click the host and click Reboot or Shutdown.
- Restart the workflow.
After this, ensure that the VRM VM can ping the Esxi host. If it is unable to ping the host do the following.
Ensure that the traffic from the TOR switch is being passed through. If it is not, reset the ports connecting the esxi to the VRM VM or check the switch/port config.
If the data packets are not being dropped at the switch and it the underlying network layer is fine
Check if the NICs on the host are down, if they are down, reset them using these commands:
- To change the link state of the physical interface to down:
esxcli network nic down -n vmnicX (where X is the vmnic number)
- To change the link state of the physical interface to up:
esxcli network nic up -n vmnicX (where X is the vmnic number)
If the NIC still does not come up, have it un-plugged and plugged physically.
Once the NICs come back up, and the connectivity is re-established, restart the workflow.
Note: Check for the firmware/driver version of the NICs on the esxi host, if it is not latest as per the VMware Hardware Compatibility Guide, update it to the most recent one.
Workaround:
To work around this issue, reboot the ESXi host in question or manually enter It into maintenance mode or exit it from maintenance mode, depending upon the stage at which the update failed. Depending upon the stage at which the upgrade fails, do the following:
- Failed at Entering Maintenance mode:
- Manually put the host in maintenance mode from the vCenter (In the vSphere Client inventory.
- Right-click a host and select Enter Maintenance Mode.
- Restart the workflow.
- Failed at Exiting Maintenance mode:
- Manually take out the host from maintenance mode,
- In the vSphere Client inventory, right-click a host and select Exit Maintenance Mode.
- Restart the workflow.
- Failed at Rebooting Host:
- Manually reboot the host.
- Right-click the host and click Reboot or Shutdown.
- Restart the workflow.
After this, ensure that the VRM VM can ping the Esxi host. If it is unable to ping the host do the following.
Ensure that the traffic from the TOR switch is being passed through. If it is not, reset the ports connecting the esxi to the VRM VM or check the switch/port config.
If the data packets are not being dropped at the switch and it the underlying network layer is fine
Check if the NICs on the host are down, if they are down, reset them using these commands:
- To change the link state of the physical interface to down:
esxcli network nic down -n vmnicX (where X is the vmnic number)
- To change the link state of the physical interface to up:
esxcli network nic up -n vmnicX (where X is the vmnic number)
If the NIC still does not come up, have it un-plugged and plugged physically.
Once the NICs come back up, and the connectivity is re-established, restart the workflow.
Note: Check for the firmware/driver version of the NICs on the esxi host, if it is not latest as per the VMware Hardware Compatibility Guide, update it to the most recent one.
|