diff --git a/ironic/drivers/modules/ilo/power.py b/ironic/drivers/modules/ilo/power.py index a1363fb52f..909fa5a8c6 100644 --- a/ironic/drivers/modules/ilo/power.py +++ b/ironic/drivers/modules/ilo/power.py @@ -174,9 +174,12 @@ def _wait_for_state_change(node, target_state, requested_state, else: timeout = int(max_retry * interval) LOG.error("iLO failed to change state to %(tstate)s " - "within %(timeout)s sec for node %(node)s", + "within %(timeout)s sec for node %(node)s. Reported " + "state from iLO is %(state)s, expected state from iLO " + "is %(expected)s.", {'tstate': target_state, 'node': node.uuid, - 'timeout': int(max_retry * interval)}) + 'timeout': int(max_retry * interval), 'state': state[0], + 'expected': state_to_check}) raise exception.PowerStateFailure(pstate=target_state)