nfv/nfv/nfv-common/nfv_common
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
..
alarm Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
catalog Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
debug Replace SafeConfigParser with ConfigParser 2023-01-25 21:02:55 +00:00
event_log Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
forensic Cleanup pylint.rc file 2023-01-25 20:12:02 +00:00
schedule Debian: Fix sw-manager commands 2022-05-20 19:13:32 +00:00
selobj Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
state_machine Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
strategy py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
tasks Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
tcp Debian: Fix VIM API calls 2022-05-02 18:00:46 +00:00
thread py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
timers Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
exceptions.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
helpers.py Fix SSL cert error in nfv-vim for rehomed subcloud 2022-12-16 18:02:55 -05:00
histogram.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
profiler.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
selectable.py Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
validate.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00