The Python 2.7 Support has been support
So remove hacking rules for compatibility between python 2 and 3
Change-Id: Ia0fe869b80d330551cc9dac06c23001faf229542
Centos and (Open)Suse use distutils to install python packages. Since
version 10 pip will not remove them - and therefore cannot be used to
update those packages.
Implemented is a workaround which is taken from the diskimage-builder.
Change-Id: I2ecfbb00ba6034c3b09aa83a66cd99c85b463fff
Story: 2005899
Task: 33761
Signed-off-by: Andreas Florath <Andreas.Florath@telekom.de>
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
We found some race conditions at overcloud deploy, looks like after
running 55-heat-config, the -notify.json files are not there yet.
This review enforce a close() of the file with a with statement
Change-Id: I7d342893d790efa798ff8df379c6942eca5b7ec3
Now there is no region name when heat-config-notify try to get the
heat endpoint or zaqar endpoint. As a result, it could be a wrong
one returned from Keystone because there is no region name specified.
This patch fixes it.
Please refer Iec6f3606c9fdf8474f393b0990356f34d38bcf75 for the change
in Heat.
Please refer I88182a9a9af74e9760b2ec9b500971f06293f0b8 for the change
in occ.
Task: 22720
Story: 2002781
Change-Id: I8e0518fa61e237ec055834dd4bebe0fc87cd6627
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
Adds retry logic for software deployments using the url signals
to ensure that requests are retried if network connection issues
occur or a 500, 502, 503, or 504 is returned by the http or https
endpoint.
Note: this does not add retry logic to heatclient or zaqarclient
if they are used for signaling.
Change-Id: I82dff4a4b9fac05c5ec649db3eb379bdec71e208
Related-Bug: #1731540
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
Add the ability to configure the splay option that was recently added to
os-collect-config.
Change-Id: I8353d5ce6e671aaba84ac58e4c468089c8133216
Related-Bug: #1677314
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