Update exception message for nova service
The TimeoutException for waiters.wait_for_nova_service_state was not passing the state variable to the exception message just the binary, host and timeout. Added the missing state variable to the message. Change-Id: I173d4101e112fae05249a14715303d84e7d802ea
This commit is contained in:
parent
1718597200
commit
8946bbe786
@ -31,5 +31,5 @@ def wait_for_nova_service_state(client, host, binary, state):
|
|||||||
if timed_out:
|
if timed_out:
|
||||||
raise lib_exc.TimeoutException(
|
raise lib_exc.TimeoutException(
|
||||||
'Service %s on host %s failed to reach state %s within '
|
'Service %s on host %s failed to reach state %s within '
|
||||||
'the required time (%s s)', binary, host, timeout)
|
'the required time (%s s)', binary, host, state, timeout)
|
||||||
service = client.list_services(host=host, binary=binary)['services'][0]
|
service = client.list_services(host=host, binary=binary)['services'][0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user