Merge "Improve clarity of exception message"
This commit is contained in:
commit
245505dc04
@ -236,7 +236,8 @@ class ConductorAPI(object):
|
|||||||
return dest.pop()
|
return dest.pop()
|
||||||
except exception.DriverNotFound:
|
except exception.DriverNotFound:
|
||||||
reason = (_('No conductor service registered which supports '
|
reason = (_('No conductor service registered which supports '
|
||||||
'driver %(driver)s for conductor group "%(group)s".') %
|
'driver %(driver)s for conductor group "%(group)s". '
|
||||||
|
'Ensure the driver is valid and enabled.') %
|
||||||
{'driver': node.driver, 'group': node.conductor_group})
|
{'driver': node.driver, 'group': node.conductor_group})
|
||||||
raise exception.NoValidHost(reason=reason)
|
raise exception.NoValidHost(reason=reason)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user