The Python 2.7 Support has been support
So remove hacking rules for compatibility between python 2 and 3
Change-Id: Ia0fe869b80d330551cc9dac06c23001faf229542
Test that everything works when region_name is not supplied or is None.
Change-Id: Ia880447e27289fdb488a90d77a5a1f5f3d8b8c61
Task: 33529
Related-Bug: #1830967
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
On python3, sys.stdin/stdout are Text-mode streams, which can be
approximated with io.StringIO. On python2, there's no real
distinction between Text-mode and Binary-mode (except for line
endings, which sys.stdin/stdout also treat as Text-mode). Hence,
there's no need to explicitly use io.BytesIO on python2.
StringIO.StringIO is equally or more representative of how the
mocked streams behave.
Therefore, just use six.StringIO instead of different types for
python2 vs. python3.
Change-Id: Ib80e10a40e68ece946b344ce7bcfba5e182ce848
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