nfv/nfv/nfv-vim/nfv_vim
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
api Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
audits py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
database Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
directors Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
dor py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
event_log Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
events Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
host_fsm Remove HostTask actions of guest related services 2023-01-24 09:51:58 -03:00
instance_fsm py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
network_rebalance py3: nfv update range compatibility 2021-07-26 13:11:52 -04:00
nfvi Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
objects Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
rpc Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
strategy Cleanup pylint.rc file 2023-01-25 20:12:02 +00:00
tables py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
webserver py3: Fix http server request handler wfile write parameter 2021-07-26 13:12:58 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
debug.ini Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
vim.py py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
vim_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_manage.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_webserver.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00