Configure Auto-Start for Instances After Host Reboot

Problem

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.

Environment

  • Platform9 Managed OpenStack - All Versions
  • Nova

Procedure

  1. Set the following on each host where this behavior is desired in the /opt/pf9/etc/nova/conf.d/nova_override.conf file.
Copy
  1. Restart the Compute service.
Copy

Additional Information

For more details on this option, refer to the OpenStack Docs - Nova - Configuration Options.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard