When a compute host is rebooted, regardless of the reason, Nova is configured by default to leave all instances on that hypervisor in a shutoff state. If this behavior is considered undesirable, an optional Nova configuration option can be set on a per-host basis to automatically start guests that were running before the host rebooted.
- Platform9 Managed OpenStack - All Versions
- Set the following on each host where this behavior is desired in the /opt/pf9/etc/nova/conf.d/nova_override.conf file.
resume_guests_state_on_host_boot = True
- Restart the Compute service.
# systemctl restart pf9-ostackhost
For more details on this option, refer to the OpenStack Docs - Nova - Configuration Options.