nfv/nfv/nfv-plugins/nfv_plugins/nfvi_plugins/openstack
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
..
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
ceilometer.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
cinder.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
exceptions.py Cleanup pylint.rc file 2023-01-25 20:12:02 +00:00
fm.py Handle different formats of FM endpoint URL 2019-09-23 01:35:12 +00:00
glance.py py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
guest.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
heat.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
keystone.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
mtc.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
neutron.py Handle REST API timeouts gracefully in the VIM 2020-06-03 11:37:56 -05:00
nova.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
objects.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
openstack.py py3: Fix urllib request data value assignment 2021-07-26 13:12:49 -04:00
openstack_log.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
patching.py Increase the patching apply_patch REST API timeout 2021-05-06 12:46:29 -05:00
rest_api.py Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
rpc_listener.py Improve VIM rabbitmq initialization robustness 2019-02-25 07:42:24 -06:00
sysinv.py Increase sysinv API timeout from 45 to 60 seconds 2022-08-18 15:35:17 +00:00