commit 048a3337a8c98ec8fc138083376430ffb9027f67
Author: Lee Yarwood <email address hidden>
Date: Tue Oct 27 08:44:59 2020 +0000
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 <email address hidden>
Change-Id: I568b0c4fd6069b9118ff116532f14abb46cc42ab
(cherry picked from commit 0d2ca53bb86b8e4a3c44855cb5ef57f223462543)
Reviewed: https:/ /review. opendev. org/761222 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=048a3337a8c 98ec8fc13808337 6430ffb9027f67
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit 048a3337a8c98ec 8fc138083376430 ffb9027f67
Author: Lee Yarwood <email address hidden>
Date: Tue Oct 27 08:44:59 2020 +0000
libvirt: Only ask tpool.Proxy to autowrap vir* classes
I668643c836 d46a25df46d4c99 a973af5e50a39db 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 9118ff116532f14 abb46cc42ab a3c44855cb5ef57 f223462543)
Co-Authored-By: Daniel Berrange <email address hidden>
Change-Id: I568b0c4fd6069b
(cherry picked from commit 0d2ca53bb86b8e4