nfv/nfv
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 Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
debian Set proper permission to ocf script of vim services 2022-03-02 14:16:57 -05:00
nfv-client Unable to resolve v3 url when sw-manager is invoked 2022-12-12 15:10:12 -03:00
nfv-common Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
nfv-debug-tools/histogram_analysis Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
nfv-plugins Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
nfv-tests Replace SafeConfigParser with ConfigParser 2023-01-25 21:02:55 +00:00
nfv-tools small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-vim Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
opensuse Add opensuse specfiles to nfv 2019-10-02 10:34:02 -05:00
.coveragerc Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
.gitignore Add bugbear to flake8 and cleanup some errors 2018-09-13 14:12:48 -05:00
.stestr.conf Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc Suppress new pylint 2.16 errors in nfv 2023-02-01 21:20:15 +00:00
test-requirements.txt Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
tox.ini Fix relative imports in nfv 2023-01-24 22:16:39 +00:00