Mains blink, chassisoff, and power restore policy

Alexander Amelkin a.amelkin at yadro.com
Thu Nov 8 01:28:28 AEDT 2018


Hi all!

Do you think that a host turned off with `obmcutil chassisoff` (not `obmcutil poweroff`) should return back to 'on' state upon AC power cycle when power restore policy is 'Restore' ?

Currently it does, quite weirdly. That happens because `obmcutil poweroff` command sets RequestedHostTransition to Off, but `obmcutil chassisoff` command does not change that property.

It is proposed to add a new service, which sets RequestedHostTransition property to value Off on obmc-chassis-hard-poweroff target call.

The corresponding change is in Gerrit:
https://gerrit.openbmc-project.xyz/#/c/openbmc/meta-phosphor/+/15061/

I invite everyone to discuss it there as so far we have only two quite opposite opinions on this expressed in Gerrit comments.

WBR,
Alexander.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181107/7db458ce/attachment.sig>


More information about the openbmc mailing list