New nova API call to mark nova-compute down.

Registered by Tomi Juvonen on 2015-02-28

New API call is needed to change the state of compute service "down"
immediately. This allows usage of evacuate API without a delay. Also as
external system will make sure host is down and no VMs left running, there
will be no possibility to break shared storage or use same IPs again.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Tomi Juvonen
Direction:
Approved
Assignee:
Roman Dobosz
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt on 2015-06-12
Completed by
Tomi Juvonen on 2015-08-10

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mark-host-down,n,z

Addressed by: https://review.openstack.org/169836
    State of compute node and instances running on it should be changed down by new API when host fault detected by external tool.

Gerrit topic: https://review.openstack.org/#q,topic:bp/mark-host-down,n,z

Addressed by: https://review.openstack.org/184086
    New nova API call to mark nova-compute down

Addressed by: https://review.openstack.org/185279
    Refactoring of the os-services update method.

Addressed by: https://review.openstack.org/185280
    Introducing new forced_down field for a Service object

Addressed by: https://review.openstack.org/197063
    Service group drivers forced_down flag utilization

Do you have all the code up for review for this yet? If so please move it to NeedsCodeReview.
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

Hmm, we have one remaining patch here, the API change: https://review.openstack.org/184086 Leaving this open for now. --johnthetubaguy 3rd July 2015

Addressed by: https://review.openstack.org/209766
    Squashing down update method

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.