It was brought to our attention that Foreman’s BMC operations are weirdly mapped and it is pretty confusing what is a safe operation out of our: Stop, Reset, Poweroff, Reboot. Can you tell just from those words? You can’t, unless you know.
Therefore I propose to change the naming for once and forever that will be friendly and relevant for both hardware BMC’s, Redfish API and virtualization. My thinking is to always use word “force” when it is a dangerous operation (like powering off or powercycle), also choosing words wisely so they are easy to understand in our context.
-
:on
(Power on) - IPMI on - virsh start - Redfish On -
:shutdown
(Safe shutdown) - IPMI soft - virsh shutdown - Redfish GracefulShutdown -
:stop
(Force power off) - IPMI off - virsh destroy - Redfish ForceOff -
:reset
(Force power reset) - IPMI cycle - virsh reset - Redfish ForceRestart -
:mgmt_warm_reset
(Management warm reset) - IPMI reset - virsh N/A - Redfish Manager.Reset -
:mgmt_cold_reset
(Management cold reset) - IPMI reset - virsh N/A - Redfish Manager.Reset
Man pages:
Relevant PR: https://github.com/theforeman/foreman/pull/9082