Hyper-V soft reboot¶
This blueprint introduces soft reboot support in the Nova Hyper-V driver.
Currently both “nova reboot” and “nova reboot –hard” cause a hard reset on Hyper-V instances. The driver needs to perform a soft reboot in the former case for consistency with the API specifications.
This feature can be implemented by invoking the “InitiateShutdown” method of the “Msvm_ShutdownComponent” class, waiting for the VM to reach a powered off status and powering it on again.
For consistency with the libvirt driver, if a soft reboot fails then a hard reboot is attempted.
Hyper-V provides an API to execute a soft shutdown but not a direct API to execute a soft reboot, hence the need to wait for the shutdown to be completed.
Data model impact¶
REST API impact¶
Other end user impact¶
Other deployer impact¶
- Primary assignee:
Hyper-V Nova driver feature implementation
Additional Tempest tests can be evaluated
Initial discussion (Juno design summit): https://etherpad.openstack.org/p/nova-hyperv-juno