buildroot icon indicating copy to clipboard operation
buildroot copied to clipboard

If a host is disabled and rebooted, it can't be enabled again

Open djs55 opened this issue 10 years ago • 0 comments

This is because the localdb has:

<row key="host_disabled_until_reboot" value="true"/>

-- this needs to be cleared on a reboot. On XenServer this happens via the init script and stamp files leading to an -onsystemboot argument.

It would be better if xapi could tell if the system has been rebooted by comparing the last Host boot time with the current time, avoiding stamp files and init.d scripts altogether.

djs55 avatar Oct 17 '14 09:10 djs55