The Python 2.7 Support has been support
So remove hacking rules for compatibility between python 2 and 3
Change-Id: Ia0fe869b80d330551cc9dac06c23001faf229542
Address problem where the logs made by heat-config where barely readable
as they contained wrapped stdout/stderr lines. By printing the value in
beautified YAML format, we make it possible for the humans to read them.
As a safety measure if conversion fails it fallsback to original string.
Change-Id: I64b2beb6eb2927c683f5188b000a7210be7da592
Partial-Bug: #1787912
Currently this can result in errors being ignored so it's not clear
to the user that something failed.
Change-Id: Idf6badecbfa72150f3506a485eed9ae2cb5858f7
Story: 2002084
Task: 19753
This patch whitelists the os-apply-config 'group' from getting logged
as an error message because there is no hook script. This is a legacy
group used in TripleO for several things.
Change-Id: If128d8e707548815defc72212c59ad53348b5adf
Closes-bug: #1715497
On python <3.4 the separator for json.dump() defaulted to (', ', ': ')
which may cause trailing whitespaces in rendered JSON files when used
with indent. This change sets the separator to (',', ': ') to prevent
trailing whitespaces with older versions of python.
See https://docs.python.org/2/library/json.html#basic-usage
Change-Id: I81fabd54659bdb28da43fb4900f19dd94a70336c
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