nova/nova/tests
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
..
functional api: Set min, maxItems for server_group.policies field 2020-09-18 15:29:17 +01:00
unit libvirt: Only ask tpool.Proxy to autowrap vir* classes 2020-11-03 20:19:51 +00:00
__init__.py
fixtures.py Use admin neutron client to see if instance has qos ports 2019-11-13 13:40:59 +01:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00