nova/nova/virt/libvirt
Lee Yarwood 0d2ca53bb8 libvirt: Only ask tpool.Proxy to autowrap vir* classes
I668643c836d46a25df46d4c99a973af5e50a39db attempted to fix service wide
pauses by providing a more complete list of classes to tpool.Proxy.

While this excluded libvirtError it can include internal libvirt-python
classes pointed to by private globals that have been introduced with the
use of type checking within the module.

Any attempt to wrap these internal classes will result in the failure
seen in bug #1901383. As a result this change simply ignores any class
found during inspection that doesn't start with the `vir` string, used
by libvirt to denote public methods and classes.

Closes-Bug: #1901383
Co-Authored-By: Daniel Berrange <berrange@redhat.com>
Change-Id: I568b0c4fd6069b9118ff116532f14abb46cc42ab
2020-10-27 09:38:18 +00:00
..
storage rbd: Move rbd_utils out of libvirt driver under nova.storage 2020-08-26 13:12:05 +01:00
volume Merge "Remove six.add_metaclass" 2020-08-18 17:58:12 +00:00
__init__.py
blockinfo.py fup: Add missing docstrings from get_rescue_device|bus diskinfo funcs 2020-04-09 10:39:25 +01:00
config.py Handle disabled CPU features to fix live migration failures 2020-10-16 11:25:14 +01:00
designer.py libvirt: Remove MIN_LIBVIRT_ETHERNET_SCRIPT_PATH_NONE 2020-06-02 15:10:14 +01:00
driver.py Merge "virt: Remove 'get_console_pool_info' API" 2020-10-21 23:31:50 +00:00
guest.py Merge "libvirt: Increase incremental and max sleep time during device detach" 2020-10-10 14:40:42 +00:00
host.py libvirt: Only ask tpool.Proxy to autowrap vir* classes 2020-10-27 09:38:18 +00:00
imagebackend.py rbd: Move rbd_utils out of libvirt driver under nova.storage 2020-08-26 13:12:05 +01:00
imagecache.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py libvirt: Remove MIN_LIBVIRT_FILE_BACKED_DISCARD_VERSION 2020-09-22 10:29:37 +01:00
utils.py Merge "Remove write_to_file." 2020-09-14 19:31:52 +00:00
vif.py Merge "libvirt: Use local variable instead of CONF" 2020-09-28 12:03:05 +00:00