config/sysinv/sysinv
Dan Voiculeasa 1518543bf7 py3: Fix base64 usage
b64encode and b64decode returns a str in Python2 and a
bytes in Python3. This is a problem when using http/url/rest
libraries. Runtime errors are raised. Mixing str and bytes when
formatting a text might introduce an unwanted "b" for bytes, which can
lead to potential issues when sent over the network.

To keep compatibility use oslo_serialization to force the
return type to str.
There is one place where base64 urlsafe version is specifically used to
send and receive(Rest API for application upload).

One of the tests is that platform-integ-app applies which exercises part
of the changes.
Cert-mon and DC part will be exercied when DC is available on f/centos8
branch.

Story: 2006796
Task: 42797
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I48b1c6c80363458945c6bc1a9cf7e16c743a7bd6
(cherry picked from commit 8a7c4b15c7)
2021-08-13 09:57:02 -04:00
..
centos Add cert-alarm service 2021-07-22 08:29:23 -04:00
debian sysinv: Cleanup requirements 2021-04-01 09:18:05 -04:00
opensuse sysinv: Cleanup requirements 2021-04-01 09:18:05 -04:00
sysinv py3: Fix base64 usage 2021-08-13 09:57:02 -04:00
.gitignore StarlingX open source release updates 2018-05-31 07:35:52 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:35:52 -07:00