Comment 7 for bug 1931817

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/797109
Committed: https://opendev.org/openstack/kolla/commit/253c215f1ea1ce9547fff7442c570248494c7115
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 253c215f1ea1ce9547fff7442c570248494c7115
Author: Pierre Riteau <email address hidden>
Date: Tue Jun 15 09:42:32 2021 +0200

    Fix build of masakari-monitors image

    The CentOS 8 Advanced Virtualization repository recently added libvirt
    7.0.0. The current version of libvirt-python fails to build against it:

        running build
        /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
        /var/lib/kolla/venv/bin/python3.6 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
        Found 480 functions in /usr/share/libvirt/api/libvirt-api.xml
        Found 0 functions in libvirt-override-api.xml
        Generated 389 wrapper functions
        Missing type converters:
        char ** *:1
        char **:1
        ERROR: failed virDomainAuthorizedSSHKeysGet
        ERROR: failed virDomainAuthorizedSSHKeysSet
        error: command '/var/lib/kolla/venv/bin/python3.6' failed with exit status 1

    We need at least libvirt-python v6.10.0.

    Closes-Bug: #1931817
    Change-Id: If69536387513ca221e03a80878016532a41aef87
    (cherry picked from commit 715d799ab997cbfe9e444b3f2a72c5dbbbf6728e)