Harald Jensås 2b51921cc7 Verify power state after rescue operations
Add expected_power_state parameter to _wait_for_power_state_stable()
to ensure rescue operations actually power on instances. Previously,
the method only checked if power state was stable, not if it matched
the expected state. This caused false success reports when rescue
failed to power on instances, leading to 120s timeouts in Ironic.

Now logs detailed diagnostics including fault info and full instance
data when power state verification fails, enabling faster debugging.

Assisted-By: Claude (claude-4.5-sonnet)
Change-Id: Ibf6934943af96c9a2594621f23f570a5e2e03f7d
Signed-off-by: Harald Jensås <[email protected]>
2026-03-13 12:12:57 +01:00
2017-04-06 17:05:16 +01:00
2018-07-27 08:14:22 +07:00
2019-04-19 19:44:40 +00:00
2017-04-06 17:05:16 +01:00
2025-06-25 00:37:28 +09:00
2022-05-04 17:42:22 +02:00
2017-04-06 17:05:16 +01:00
2018-09-23 16:38:42 +08:00
2017-04-06 17:05:16 +01:00
2025-01-15 16:16:44 -08:00
2025-10-13 11:55:49 +02:00
2022-04-26 09:54:13 +02:00
2025-06-25 00:37:28 +09:00

Redfish development tools

This is a set of simple simulation tools aimed at supporting the development and testing of the Redfish protocol implementations and, in particular, the Sushy library (https://docs.openstack.org/sushy/). It is not designed for use outside of development and testing environments. Please do not run sushy-tools in a production environment of any kind.

The package ships two simulators - the static Redfish responder and the virtual Redfish BMC (which is backed by libvirt or OpenStack cloud).

The static Redfish responder is a simple REST API server which responds with the same things to client queries. It is effectively read-only.

The virtual Redfish BMC resembles the real Redfish-controlled bare metal machine to some extent. Some client queries are translated to commands that actually control VM instances simulating bare metal hardware. However, some of the Redfish commands just return static content, never touching the virtualization backend and in this regard, the virtual Redfish BMC is similar to the static Redfish responder.

Description
A set of tools to support the development and test of the Sushy library
Readme 5.5 MiB
Languages
Python 100%