I assume you're using resume_guests_state_on_host_boot to automatically restart these instances?
If you are it looks like _resume_guests_state just needs to elevate the current context before passing it down to the driver for use by _hard_reboot as is done already when rebooting an instance:
I assume you're using resume_ guests_ state_on_ host_boot to automatically restart these instances?
If you are it looks like _resume_ guests_ state just needs to elevate the current context before passing it down to the driver for use by _hard_reboot as is done already when rebooting an instance:
https:/ /github. com/openstack/ nova/blob/ 7a18209a8153921 7a95ab7daad6bc6 7002768950/ nova/compute/ manager. py#L3455