Trivial: Fix error message when waiting for power state
The power states already contain the word 'power', so currently an error reads: "Timed out after 30 secs wating for power power off on node ..." Change-Id: I2535c15172df475a7d08c5219c2b97690ea67a58
This commit is contained in:
parent
ccf2bb1ea1
commit
9e8464346b
@ -168,7 +168,7 @@ def node_wait_for_power_state(task, new_state, timeout=None):
|
||||
timer = loopingcall.BackOffLoopingCall(_wait)
|
||||
return timer.start(initial_delay=1, timeout=retry_timeout).wait()
|
||||
except loopingcall.LoopingCallTimeOut:
|
||||
LOG.error('Timed out after %(retry_timeout)s secs waiting for power '
|
||||
LOG.error('Timed out after %(retry_timeout)s secs waiting for '
|
||||
'%(state)s on node %(node_id)s.',
|
||||
{'retry_timeout': retry_timeout,
|
||||
'state': new_state, 'node_id': task.node.uuid})
|
||||
|
Loading…
x
Reference in New Issue
Block a user