During the upgrade pre-check, the process failed for one of the hosts. The following error was displayed:
“Error while checking if host reboot is pending from a previous action. Please check the configuration state of host <masked-hostname>, <masked-uuid> and ensure that services are operating normally.”
VMware NSX
This error occurs when the system detects that the host may still be in a pending reboot state due to:
A previous patch, update, or configuration change that required a reboot.
Host services not having restarted correctly after a previous action.
As a result, the pre-check validation cannot proceed.
Verify Host State
Log in to the affected host (<masked-hostname>).
Check if the system indicates a pending reboot. Run following CLI command on the host as root to verify:
vim-cmd hostsvc/hostsummary|grep -i reboot; If rebootRequired is set to true then the host reboot is pending.
Check Services
Confirm that all essential services (management, networking, and storage) are running normally.
Perform a Manual Reboot (if required)
If a pending reboot is confirmed or services appear unstable, reboot the host manually.
Allow the host to come back online and verify that services are restored.
Re-run the Upgrade Pre-check
If the host is stable, repeat the upgrade pre-check to confirm successful validation.