Switch no hook message to an error
If the end host does not have the appropriate heat-agent hook installed, the message for this is printed out as a warning. It's more likely that this is an error condition if a user is configuring a stack to be deployed with a specific tool and it is not installed when the stack is run. As a UX improvement, let's increase the level from warning to error to increase visibility for the operator. Change-Id: Ief87d526cc5941179cea3f8ffcac47c3dabaf71b Related-Bug: #1651785
This commit is contained in:
parent
55a64be8a4
commit
f20bf0a15f
|
@ -130,7 +130,7 @@ def invoke_hook(c, log):
|
|||
hook_path = find_hook_path(c['group'])
|
||||
|
||||
if not hook_path:
|
||||
log.warn('Skipping group %s with no hook script %s' % (
|
||||
log.error('Skipping group %s with no hook script %s' % (
|
||||
c['group'], hook_path))
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue