nova/nova/virt
Lee Yarwood cd83da5501 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
(cherry picked from commit 0d2ca53bb8)
(cherry picked from commit 048a3337a8)
(cherry picked from commit 36cb57d97b)
2020-11-03 20:19:51 +00:00
..
disk [Trivial]Remove unused helper get_allocated_disk_size 2019-08-28 13:36:52 +08:00
hyperv Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Lowercase ironic driver hash ring and ignore case in cache 2020-03-18 21:00:22 +00:00
libvirt libvirt: Only ask tpool.Proxy to autowrap vir* classes 2020-11-03 20:19:51 +00:00
powervm Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
vmwareapi Set different VirtualDevice.key 2020-09-22 00:57:14 +00:00
xenapi Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
zvm Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py block_device: Copy original volume_type when missing for snapshot based volumes 2019-11-29 11:30:43 +00:00
configdrive.py Skip existing VMs when hosts apply force_config_drive 2019-05-22 21:02:16 +00:00
driver.py Unplug VIFs as part of cleanup of networks 2020-03-05 11:21:36 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py hardware: Reject requests for no hyperthreads on hosts with HT 2020-08-26 15:57:57 +01:00
imagecache.py Reserve DISK_GB resource for the image cache 2020-05-25 09:30:55 +02:00
images.py Improve libvirt image and snapshot handling 2019-03-05 12:18:34 -06:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Add VirtAPI.update_compute_provider_status 2019-07-02 11:45:40 -04:00