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:
Arne Wiebalck 2019-02-26 13:41:18 +00:00
parent ccf2bb1ea1
commit 9e8464346b
1 changed files with 1 additions and 1 deletions

View File

@ -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})