Enhance Power Interface for Soft Power Off and Inject NMI

Registered by Naohiro Tamura on 2014-11-06

This blue print proposes to enhance the current power interface to support soft power off and diagnostic interrupt (NMI [1]).

Both soft reboot and diagnostic interrupt (NMI) are supported by ipmitool.
$ man ipimtool
....
 power

        Performs a chassis control command to view and change the power state.

        diag

               Pulse a diagnostic interrupt (NMI) directly to the processor(s).

        soft

               Initiate a soft-shutdown of OS via ACPI. This can be
               done in a number of ways, commonly by simulating an
               overtemperture or by simulating a power button press.
               It is necessary for there to be Operating System support
               for ACPI and some sort of daemon watching for events for
               this soft power to work.
....

[1] http://en.wikipedia.org/wiki/Non-maskable_interrupt

- Nov 9th, 2015, Naohirot:
Overall idea can be found in the following presentation slides P.40 - P.54.

"Ironic Towards Truly Open and Reliable, Eventually for Mission Critical"
 http://www.slideshare.net/naohirot/ironic-towards-truly-open-and-reliable-eventually-for-mission-critical
 https://www.youtube.com/watch?v=MpSqDA3jo0I

Blueprint information

Status:
Started
Approver:
None
Priority:
Low
Drafter:
Naohiro Tamura
Direction:
Needs approval
Assignee:
Naohiro Tamura
Definition:
Review
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Naohiro Tamura on 2015-06-01

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/enhance-power-interface-for-soft-reboot-and-nmi,n,z

Addressed by: https://review.openstack.org/186700
    Enhance Power Interface for Soft Reboot and NMI

Addressed by: https://review.openstack.org/187082
    Add iRMC vendor passthru for soft reboot and NMI

Gerrit topic: https://review.openstack.org/#q,topic:bp/enhance-power-interface-for-soft-power-off-and-inject-nmi,n,z

Addressed by: https://review.openstack.org/207897
    Enhance Power Interface for Soft Power Off and Inject NMI

Addressed by: https://review.openstack.org/216730
    Generic power I/F for soft power off and cancel task

Addressed by: https://review.openstack.org/216738
    Enhance ipmitool driver for soft power off and cancel task

Addressed by: https://review.openstack.org/216743
    Enhance iRMC driver for soft power off and cancel task

Gerrit topic: https://review.openstack.org/#q,topic:bp/task-control-functions-for-long-running-tasks,n,z

Addressed by: https://review.openstack.org/250783
    Add 'abort' support for Soft Power Off and Inject NMI

We're moving from using blueprints to track features to RFE bugs. I've filed one for your change (see related bugs section). Please track further work there using Closes-Bug, Partial-Bug or Related-Bug in commit messages and use this newly created RFE bug.
//vdrok 2015-12-16

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.