Searched hist:"74 d7a552" (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-state-manager/service_files/ |
H A D | phosphor-set-chassis-transition-to-off@.service | 74d7a552 Tue Nov 14 00:35:50 CST 2023 Thang Tran <thuutran@amperecomputing.com> Support Chassis TransitioningToOff/On state
When BMC turns on/off the host, it asserts/de-asserts the PSON to turn on/off the power. After that, BMC takes a little bit of time to change Chassis's state from Off/On to On/Off. During this time, BMC should show a temporary state instead of directly jumping to On/Off state.
As defined in the PDI the "CurrentPowerState" property of "Chassis" interface has 4 options[1]: - On - Off - TransitioningToOn - TransitioningToOff
This commit supports 2 more states: TransitioningToOn and TransitioningToOff. 2 states are updated before PSON is asserted or de-asserted.
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
Tested: 1. Update phosphor-state-manager recipe to add 2 services. 2. Turn on the host. $ipmitool power on 3. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 4. Chassis Power State is changed from TransitioningToOn to On. 5. Turn off the host. $ipmitool power off 6. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 7. Chassis Power State is changed from TransitioningToOff to Off.
Change-Id: I474882c87510351b5c64438b33d62072629e27e7 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
H A D | phosphor-set-chassis-transition-to-on@.service | 74d7a552 Tue Nov 14 00:35:50 CST 2023 Thang Tran <thuutran@amperecomputing.com> Support Chassis TransitioningToOff/On state
When BMC turns on/off the host, it asserts/de-asserts the PSON to turn on/off the power. After that, BMC takes a little bit of time to change Chassis's state from Off/On to On/Off. During this time, BMC should show a temporary state instead of directly jumping to On/Off state.
As defined in the PDI the "CurrentPowerState" property of "Chassis" interface has 4 options[1]: - On - Off - TransitioningToOn - TransitioningToOff
This commit supports 2 more states: TransitioningToOn and TransitioningToOff. 2 states are updated before PSON is asserted or de-asserted.
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
Tested: 1. Update phosphor-state-manager recipe to add 2 services. 2. Turn on the host. $ipmitool power on 3. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 4. Chassis Power State is changed from TransitioningToOn to On. 5. Turn off the host. $ipmitool power off 6. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 7. Chassis Power State is changed from TransitioningToOff to Off.
Change-Id: I474882c87510351b5c64438b33d62072629e27e7 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
H A D | meson.build | 74d7a552 Tue Nov 14 00:35:50 CST 2023 Thang Tran <thuutran@amperecomputing.com> Support Chassis TransitioningToOff/On state
When BMC turns on/off the host, it asserts/de-asserts the PSON to turn on/off the power. After that, BMC takes a little bit of time to change Chassis's state from Off/On to On/Off. During this time, BMC should show a temporary state instead of directly jumping to On/Off state.
As defined in the PDI the "CurrentPowerState" property of "Chassis" interface has 4 options[1]: - On - Off - TransitioningToOn - TransitioningToOff
This commit supports 2 more states: TransitioningToOn and TransitioningToOff. 2 states are updated before PSON is asserted or de-asserted.
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Chassis.interface.yaml
Tested: 1. Update phosphor-state-manager recipe to add 2 services. 2. Turn on the host. $ipmitool power on 3. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 4. Chassis Power State is changed from TransitioningToOn to On. 5. Turn off the host. $ipmitool power off 6. Check the journalctl logs. $journalctl | grep phosphor-chassis-state-manager 7. Chassis Power State is changed from TransitioningToOff to Off.
Change-Id: I474882c87510351b5c64438b33d62072629e27e7 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|