nfv/nova-api-proxy
Luan Nunes Utimura 1e475dca0c Debian: Fix nova actions
Since the platform migration to Debian, it was observed that the
following Nova actions stopped working:
  - pause;
  - unpause;
  - suspend;
  - resume;
  - live-migration.

The reason behind that is that some packages related to Nova, which have
already been migrated to Debian, still have some incompatibilities with
Python 3. Consequently, whenever these Nova actions were executed, some
exceptions occurred on the nova-api-proxy and NFV side, preventing them
from working.

Therefore, this change aims to improve this compatibility.

Most of the changes were necessary due to the fact that in Python 3
there is more of a distinction between `bytes` and `str`, whereas in
Python 2 `bytes` is just an alias for `str`.

Test Plan (on AIO-DX):
PASS - Successfully perform a VM pause, unpause, suspend, resume.
PASS - Successfully perform a VM live-migration.

Closes-Bug: 2003813

Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
Change-Id: I918fe6e3deaa68630c797449649012e9fbf16fe4
2023-02-03 08:53:52 -03:00
..
centos Setting PYTHON3=no for LOCI images 2022-01-24 22:18:52 +00:00
debian Port stx-nova-api-proxy image to stx-debian 2023-01-26 07:39:17 -03:00
nova-api-proxy Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
opensuse Refactor on nova-api-proxy.spec for opensuse 2019-10-03 12:39:35 -05:00
.gitignore StarlingX open source release updates 2018-05-31 07:36:51 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc Cleanup tox.ini and zuul files from older releases 2023-01-19 15:42:06 +00:00
test-requirements.txt Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
tox.ini Cleanup tox.ini and zuul files from older releases 2023-01-19 15:42:06 +00:00