config/sysinv/sysinv/sysinv/sysinv/common
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
..
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ceph.py Resolving not-callable 2020-12-09 14:28:02 -05:00
config.py Deprecate sysinv.openstack.common.db in favor of oslo_db 2020-02-07 11:55:49 -06:00
configp.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
constants.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
context.py Sysinv healthy query API request failed 2018-09-13 13:36:15 -04:00
dc_api.py Notify dcmanager when k8s upgrade completes 2021-05-18 16:46:07 -04:00
device.py Add enable flag for N3000 to call pf-bb-config 2021-07-07 09:01:34 -03:00
disk_utils.py Wiping the disk preexistent partitions 2019-12-11 06:59:17 -05:00
exception.py updated k8s info in hieradata 2021-08-04 14:29:58 +00:00
extension_manager.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
fernet.py Unsupported 'message' Exception attribute in PY3 2021-06-23 12:47:23 -04:00
fm.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
health.py Platform support for application upgrades 2021-04-13 12:44:38 -04:00
image_service.py Deprecate the sysinv.openstack.common utils files 2019-12-04 10:58:39 -06:00
images.py Deprecate the sysinv.openstack.common utils files 2019-12-04 10:58:39 -06:00
interface.py Fix for shared NIC with the N3000 FPGA 2021-06-09 18:51:25 -04:00
kubernetes.py Add new kube_cmd_versions table and API endpoint 2021-08-04 16:31:25 +03:00
paths.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
policy.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00
rest_api.py py3: Fix urllib request data value assignment 2021-08-13 08:59:57 -04:00
retrying.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
service.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
service_parameter.py Collectd network configuration 2021-07-29 16:28:44 -03:00
states.py Fix word and statement errors in comments 2018-11-14 10:04:51 +08:00
storage_backend_conf.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
utils.py py3: Fix base64 usage 2021-08-13 09:57:02 -04:00
wsgi_service.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00