When attempting to shut down a vSAN cluster for maintenance, the following issue may occur:
reboot_helper.py prepare script fails with the error: Please enable NTP service across the hosts and vCenter Server, or synchronize the time settings manuallypython /usr/lib/vmware/vsan/bin/reboot_helper.py prepareVMware vSAN 8.x
One or more ESXi hosts in the vSAN cluster exhibit a time drift greater than 10 seconds compared to other hosts. This time skew causes the script to fail, as accurate time synchronization is required for a graceful cluster shutdown.
Accurate time synchronization is critical for vSAN operations. Time drift across hosts can negatively impact the cluster shutdown process.
Verify that the NTP service is running on all ESXi hosts: #/etc/init.d/ntpd status
If necessary, restart the NTP service on affected hosts: #/etc/init.d/ntpd restart
Confirm time consistency across all hosts by running: #watch date compare the time output across all cluster hosts.
python /usr/lib/vmware/vsan/bin/reboot_helper.py prepare