Comment 11 for bug 1901383

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/victoria)

Reviewed: https://review.opendev.org/761222
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=048a3337a8c98ec8fc138083376430ffb9027f67
Submitter: Zuul
Branch: stable/victoria

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)