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 hjensas@redhat.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号