Has anyone had an issue with ESXi 7.02 rebooting instead of powering off when given the shutdown command? I've had this happen on two different machines now, with two different patch levels of ESXi 7.02. The first time it happened on an Intel NUC, and I just disregarded it because the NUC isn't a supported platform. However, it just happened on an Intel s2600 motherboard that is supported, as I was testing a UPS shutdown script. The script issued a powershell "Stop-VMhost -Force" command and rather than power off it rebooted, which is about the worst thing that can happen when the battery backup power is almost gone. The Stop-VMhost doesn't have any options concerning restart versus power off, but I was assuming it means power off. I can get around this by simply having the script not issue a Stop-VMhost command after the VMs have received their own shutdown commands and just let the computer go off when the power fails as it doesn't seem that ESXi itself has issues if the power is cut rather than being shutdown, but as this has happened on two different platforms now I'm wondering if there was a bug introduced somewhere in ESXi 7.02.
The bios in both computers is set to automatically boot upon power being applied, which is what you want for a computer in a location that isn't attended 24x7, but up to now that hasn't caused a reboot when ESXi was shutdown.
If anyone with a home lab would like to try setting their bios to automatically start when power is applied and then try to shutdown ESXi to see if it powers off or reboots I'd appreciate the feedback. I don't know at this point if it's something particular to how I have ESXi configured (on both machines), or if this is a bug. I know it didn't used to reboot upon shutdown on the s2600 motherboard, but I don't remember the last patch level that I actually tried it and verified that it worked.
i'm experiencing the same issue with my Intel NUC. The mentioned parameter for automatically boot after power didn't changed it unfortunately.
Tried several BIOS options but didnt had success.
Maybe someone else is suffering this issue? At the beginning I thought this is an unique issue on Intel NUC, but it seems not only happening on Intel NUC.
Now that's a very interesting observation! Both of the computers I'm having the issue with also have two nics. As the nics are part of the motherboards I'm not able to remove one, but perhaps I can disable one in the bios and see what happens. It might be a few weeks before I get an opportunity to take one down long enough to conduct the test though.
I have the same issue Intel NUC 11 with ESXI 7.02 and 8 andthe last bios. I only have one NIC. Looking for resolution I can't shutdown the device remotely properly when the UPC is low.
The only temporary solution is to shutdown all the VMs and then let the power drop. ESXi itself doesn't appear to have a problem being powered off while running. That's what I'm doing. I've set my shutdown script to only shutdown the VMs and not attempt to shutdown the hypervisor.
ESXi 8 is out now and next month I'll get the chance to install it on the NUC and see if this problem is fixed in the new version.
Bad news 😥. I upgraded my nuc 11 to ESXi 8.00 and it still reboots when you try to shut it down. The screen about the system being halted and that you can now power it off appears briefly at the end of the shutdown sequence, and then it reboots. 🙄