Enable Hyper-V Host Maintenance

Registered by Claudiu Belu on 2015-06-23

Due to several possible reasons such as hardware upgrade, patches installations, etc., setting a compute node into maintenance mode is necessary. Currently, setting a Nova Hyper-V compute node into maintenance mode is not possible, as the Hyper-V Driver does not implement the host_maintenance_mode method.

This blueprint will add implementation for the host_maintenance_mode method in the Hyper-V Driver. The implementation will mirror the already existent implementation in XenAPIDriver. [1]

Implementing the mentioned method will allow the following command to succeed:

nova host-update --maintenance enable <host>

[1] https://github.com/openstack/nova/blob/master/nova/virt/xenapi/host.py#L56

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Claudiu Belu
Direction:
Needs approval
Assignee:
Simona Iuliana Toader
Definition:
Pending Approval
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Claudiu Belu on 2015-08-04

Related branches

Sprints

Whiteboard

Thank you for submitting this blueprint for review. This was approved during the nova-meeting. --johnthetubaguy 26th June 2015

Please note this blueprint will delayed until the M release if it is not in the NeedsCodeReview state (with all the code up for review) before July 16th, and merged by July 30th. We expect to re-open master for the M release in September. For more information, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule#Non-priority_Blueprint_Feature_Freeze and http://lists.openstack.org/pipermail/openstack-dev/2015-June/065819.html
--johnthetubaguy 15th July 2015

Unapproved for liberty due to the Non-Priority Feature Proposal Freeze. --johnthetubaguy 16th July 2015

Gerrit topic: https://review.openstack.org/#q,topic:bp/hyper-v-host-maintenance,n,z

Addressed by: https://review.openstack.org/163080
    Hyper-V: restart serial console workers after instance power change

Addressed by: https://review.openstack.org/204157
    Hyper-V: Enable Hyper-V Host Maintenance

-----
A spec for this work was requested at the nova meeting on 2015-10-08 -- mikalstill
-----

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.