Revision Date Author Comments
# 106152c6 12-Apr-2022 Potin Lai <potin.lai@quantatw.com>

phosphor-reset-sensor-states@.service: support multi-host

Update service file to support-multi host feature

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Iea28c9bc9f18c7cd9a8a657e4fa

phosphor-reset-sensor-states@.service: support multi-host

Update service file to support-multi host feature

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Iea28c9bc9f18c7cd9a8a657e4fa59c06d191dfa6

show more ...


# 828f874a 03-Dec-2021 Andrew Geissler <geissonator@yahoo.com>

host-restart: ensure reason cleared on host stop

The host RestartCause property, similar to other host related
properties, should be reset whenever the host is stopped and the system

host-restart: ensure reason cleared on host stop

The host RestartCause property, similar to other host related
properties, should be reset whenever the host is stopped and the system
is brought down.

Tested:
- Verified on a power off of a system that the RestartCause was reset
to xyz.openbmc_project.State.Host.RestartCause.Unknown

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia860409eca4051b4f6bd4dbb997cbb528a7b2b2b

show more ...


# 0d1c3f1f 27-Jul-2021 Andrew Geissler <geissonator@yahoo.com>

host-check: discover host state within state manager

Currently the phosphor-host-state-manager is started before the logic
has run to detect if the host is already running. This results

host-check: discover host state within state manager

Currently the phosphor-host-state-manager is started before the logic
has run to detect if the host is already running. This results in
phosphor-host-state-manager temporarily reporting that the host is not
running, even if it actually is. This can cause confusion for clients
monitoring this property.

The solution is to move the logic which discovers if the host is running
into phosphor-host-state-manager. Having the logic to do this in a
separate application was a nice separation of concerns but when the
requirement is a co-req, best to just combine them.

This change results in the phosphor-host-state-manager service starting
later in the boot to BMC Ready but testing has shown no impacts to
overall time to reach BMC Ready or impacts to other services.

As a part of this change, the phosphor-reset-sensor-states service was
moved out of the obmc-host-reset target to ensure it and the
phosphor-host-state-manager service have the correct dependency between
them. The phosphor-host-state-manager service now ensures it runs after
the pldm and ipmi services if they are being started (they are
utilized to check if the host is running).

Testing:
- Chassis On, Host On
Jul 30 14:40:37 rainxxx phosphor-host-state-manager[696]: Check if host is running
Jul 30 14:40:39 rainxxx phosphor-host-state-manager[696]: Host is running!
Jul 30 14:40:39 rainxxx phosphor-host-state-manager[696]: Initial Host State will be Running

- Chassis Off, Host Off
Jul 30 14:55:17 rainxxx phosphor-host-state-manager[710]: Check if host is running
Jul 30 14:55:17 rainxxx phosphor-host-state-manager[710]: Chassis power not on, exit
Jul 30 14:55:17 rainxxx phosphor-host-state-manager[710]: Initial Host State will be Off

- Chassis On, Host Off
Jul 30 14:57:11 rainxxx phosphor-host-state-manager[1193]: Check if host is running
Jul 30 14:57:18 rainxxx phosphor-host-state-manager[1193]: Host is not running!
Jul 30 14:57:18 rainxxx phosphor-host-state-manager[1193]: Initial Host State will be Off

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I938902f526fba2f857be4b21b01149f8250b972d

show more ...


# c212353d 14-Jan-2020 Andrew Geissler <geissonator@yahoo.com>

move state manager service files into its repo

OpenBMC is moving towards individual repos hosting and maintaining their
own service files. This allows the corresponding maintainer more c

move state manager service files into its repo

OpenBMC is moving towards individual repos hosting and maintaining their
own service files. This allows the corresponding maintainer more control
over their service file and removes the meta-* layer maintainer from
needing to be involved.

Once this is merged, its bump will need to be combined with a change in
the meta-phosphor layer that removes the service files.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ib9ebfb16e131bc2743b3fc9fcfdfb7370f455f8f

show more ...