Cannot build masakari-monitors on stable/victoria and older

Bug #1931817 reported by Buddhika Sanjeewa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
Undecided
Unassigned
Train
Fix Released
High
Unassigned
Ussuri
Fix Committed
High
Unassigned
Victoria
Fix Committed
High
Unassigned

Bug Description

When I run kayobe overcloud container image build --push or kolla-build I receive an error while building masakari-monitors

kayobe branch: stable/victoria
Ansible Controller OS: CentOS 8.4
Install from: source

INFO:kolla.common.utils:Attempt number: 4 to run task: BuildTask(masakari-monitors)
INFO:kolla.common.utils.masakari-monitors:Building started at 2021-06-13 20:03:45.417423
INFO:kolla.common.utils.masakari-monitors:Directory /tmp/kolla-2021-06-13_20-02-39_v_m23096/docker/masakari/masakari-monitors/plugins already exist. Skipping.
INFO:kolla.common.utils.masakari-monitors:Directory /tmp/kolla-2021-06-13_20-02-39_v_m23096/docker/masakari/masakari-monitors/additions already exist. Skipping.
INFO:kolla.common.utils.masakari-monitors:Step 1/9 : FROM seed-01:4000/kelaniya/centos-source-masakari-base:victoria
INFO:kolla.common.utils.masakari-monitors: ---> b6a2a160a7cc
INFO:kolla.common.utils.masakari-monitors:Step 2/9 : LABEL maintainer="Kolla Project (https://launchpad.net/kolla)" name="masakari-monitors" build-date="20210613"
INFO:kolla.common.utils.masakari-monitors: ---> Using cache
INFO:kolla.common.utils.masakari-monitors: ---> 8fa80993c811
INFO:kolla.common.utils.masakari-monitors:Step 3/9 : RUN dnf config-manager --enable ha || true
INFO:kolla.common.utils.masakari-monitors: ---> Using cache
INFO:kolla.common.utils.masakari-monitors: ---> 4ade57c5e147
INFO:kolla.common.utils.masakari-monitors:Step 4/9 : RUN dnf -y install libvirt-devel pacemaker-cli tcpdump && dnf clean all && rm -rf /var/cache/dnf
INFO:kolla.common.utils.masakari-monitors: ---> Using cache
INFO:kolla.common.utils.masakari-monitors: ---> 9c6466a1f5c9
INFO:kolla.common.utils.masakari-monitors:Step 5/9 : ADD masakari-monitors-archive /masakari-monitors-source
INFO:kolla.common.utils.masakari-monitors: ---> Using cache
INFO:kolla.common.utils.masakari-monitors: ---> ac669cbcf45d
INFO:kolla.common.utils.masakari-monitors:Step 6/9 : RUN ln -s masakari-monitors-source/* masakari-monitors && python3.6 -m pip --no-cache-dir install --upgrade -c /requirements/upper-constraints.txt /masakari-monitors && mkdir -p /etc/masakari-monitors && chown -R masakari: /etc/masakari-monitors
INFO:kolla.common.utils.masakari-monitors: ---> Running in 27bcf1db13df
INFO:kolla.common.utils.masakari-monitors:Ignoring importlib-metadata: markers 'python_version == "3.7"' don't match your environment
INFO:kolla.common.utils.masakari-monitors:Ignoring importlib-resources: markers 'python_version == "3.7"' don't match your environment
INFO:kolla.common.utils.masakari-monitors:Ignoring futures: markers 'python_version == "2.7"' don't match your environment
INFO:kolla.common.utils.masakari-monitors:Processing /masakari-monitors
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.concurrency===4.3.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 23)) (4.3.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: lxml===4.5.2 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 29)) (4.5.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.service===2.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 36)) (2.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: pbr===5.5.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 44)) (5.5.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.i18n===5.0.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 50)) (5.0.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: fixtures===3.0.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 60)) (3.0.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: debtcollector===2.2.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 113)) (2.2.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: eventlet===0.26.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 150)) (0.26.1)
INFO:kolla.common.utils.masakari-monitors:Collecting libvirt-python===6.6.0
INFO:kolla.common.utils.masakari-monitors: Downloading libvirt-python-6.6.0.tar.gz (202 kB)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.log===4.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 266)) (4.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.middleware===4.1.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 272)) (4.1.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.serialization===4.0.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 297)) (4.0.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: automaton===2.2.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 314)) (2.2.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: testtools===2.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 334)) (2.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.cache===2.6.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 359)) (2.6.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: msgpack===1.0.0 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 381)) (1.0.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.config===8.3.3 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 383)) (8.3.3)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: dogpile.cache===1.0.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 402)) (1.0.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: stevedore===3.2.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 409)) (3.2.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: openstacksdk===0.50.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 434)) (0.50.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: six===1.15.0 in /usr/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 435)) (1.15.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: requestsexceptions===1.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 443)) (1.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: yappi===1.2.5 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 458)) (1.2.5)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: wrapt===1.12.1 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 462)) (1.12.1)
INFO:kolla.common.utils.masakari-monitors:Collecting oslo.privsep===2.4.0
INFO:kolla.common.utils.masakari-monitors: Downloading oslo.privsep-2.4.0-py3-none-any.whl (33 kB)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: rfc3986===1.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 474)) (1.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: Paste===3.4.3 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 478)) (3.4.3)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: monotonic===1.5 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 489)) (1.5)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: netifaces===0.10.9 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 495)) (0.10.9)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: keystoneauth1===4.2.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 499)) (4.2.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: statsd===3.3.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 500)) (3.3.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: decorator===4.4.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 516)) (4.4.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: cffi===1.14.2 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 517)) (1.14.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: dnspython===1.16.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 528)) (1.16.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: greenlet===0.4.16 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 533)) (0.4.16)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: fasteners===0.14.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 545)) (0.14.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.utils===4.6.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 551)) (4.6.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: python-dateutil===2.8.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 558)) (2.8.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: pytz===2020.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 564)) (2020.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: WebOb===1.8.6 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 17)) (1.8.6)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: Routes===2.4.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 11)) (2.4.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: PasteDeploy===2.1.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 8)) (2.1.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: oslo.context===3.1.1 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 53)) (3.1.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: pyinotify===0.9.6 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 112)) (0.9.6)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: Jinja2===2.11.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 213)) (2.11.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: prettytable===0.7.2 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 136)) (0.7.2)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: python-mimeparse===1.6.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 93)) (1.6.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: unittest2===1.1.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 194)) (1.1.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: extras===1.0.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 154)) (1.0.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: traceback2===1.4.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 139)) (1.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: PyYAML===5.3.1 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 172)) (5.3.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: netaddr===0.8.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 128)) (0.8.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: requests===2.23.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 211)) (2.23.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: importlib-metadata===1.7.0 in /usr/local/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 269)) (1.7.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: cryptography===3.1 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 176)) (3.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: iso8601===0.1.12 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 348)) (0.1.12)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: jsonpatch===1.26 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 426)) (1.26)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: munch===2.5.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 45)) (2.5.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: os-service-types===1.7.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 315)) (1.7.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: jmespath===0.10.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 421)) (0.10.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: appdirs===1.4.4 in /usr/local/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 227)) (1.4.4)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: pycparser===2.20 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 170)) (2.20)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: packaging===20.4 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 321)) (20.4)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: pyparsing===2.4.7 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 398)) (2.4.7)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: repoze.lru===0.7 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 473)) (0.7)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: MarkupSafe===1.1.1 in /var/lib/kolla/venv/lib64/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 118)) (1.1.1)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: argparse in /var/lib/kolla/venv/lib/python3.6/site-packages (from unittest2===1.1.0->-c /requirements/upper-constraints.txt (line 194)) (1.4.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: linecache2===1.0.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 350)) (1.0.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: importlib-resources===3.0.0 in /usr/local/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 502)) (3.0.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: certifi===2020.6.20 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 39)) (2020.6.20)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: idna===2.10 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 352)) (2.10)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: chardet===3.0.4 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 3)) (3.0.4)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: urllib3===1.25.10 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 163)) (1.25.10)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: zipp===3.1.0 in /usr/local/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 532)) (3.1.0)
INFO:kolla.common.utils.masakari-monitors:Requirement already satisfied, skipping upgrade: jsonpointer===2.0 in /var/lib/kolla/venv/lib/python3.6/site-packages (from -c /requirements/upper-constraints.txt (line 126)) (2.0)
INFO:kolla.common.utils.masakari-monitors:Building wheels for collected packages: libvirt-python, masakari-monitors
INFO:kolla.common.utils.masakari-monitors: Building wheel for libvirt-python (setup.py): started
INFO:kolla.common.utils.masakari-monitors: Building wheel for libvirt-python (setup.py): finished with status 'error'
INFO:kolla.common.utils.masakari-monitors: ERROR: Command errored out with exit status 1:
INFO:kolla.common.utils.masakari-monitors: command: /var/lib/kolla/venv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-90dr6s7y
INFO:kolla.common.utils.masakari-monitors: cwd: /tmp/pip-install-zaedn4pq/libvirt-python/
INFO:kolla.common.utils.masakari-monitors: Complete output (13 lines):
INFO:kolla.common.utils.masakari-monitors: running bdist_wheel
INFO:kolla.common.utils.masakari-monitors: running build
INFO:kolla.common.utils.masakari-monitors: /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
INFO:kolla.common.utils.masakari-monitors: /var/lib/kolla/venv/bin/python3.6 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
INFO:kolla.common.utils.masakari-monitors: Found 480 functions in /usr/share/libvirt/api/libvirt-api.xml
INFO:kolla.common.utils.masakari-monitors: Found 0 functions in libvirt-override-api.xml
INFO:kolla.common.utils.masakari-monitors: Generated 389 wrapper functions
INFO:kolla.common.utils.masakari-monitors: Missing type converters:
INFO:kolla.common.utils.masakari-monitors: char ** *:1
INFO:kolla.common.utils.masakari-monitors: char **:1
INFO:kolla.common.utils.masakari-monitors: ERROR: failed virDomainAuthorizedSSHKeysGet
INFO:kolla.common.utils.masakari-monitors: ERROR: failed virDomainAuthorizedSSHKeysSet
INFO:kolla.common.utils.masakari-monitors: error: command '/var/lib/kolla/venv/bin/python3.6' failed with exit status 1
INFO:kolla.common.utils.masakari-monitors: ----------------------------------------
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors: ERROR: Failed building wheel for libvirt-python
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors: Running setup.py clean for libvirt-python
INFO:kolla.common.utils.masakari-monitors: Building wheel for masakari-monitors (setup.py): started
INFO:kolla.common.utils.masakari-monitors: Building wheel for masakari-monitors (setup.py): finished with status 'done'
INFO:kolla.common.utils.masakari-monitors: Created wheel for masakari-monitors: filename=masakari_monitors-10.0.1.dev6-py3-none-any.whl size=94625 sha256=30351dd8d633e9b50b60eb882db2b9110f96c5be2350a49de274569434d37708
INFO:kolla.common.utils.masakari-monitors: Stored in directory: /tmp/pip-ephem-wheel-cache-btffepd6/wheels/4f/6c/a8/f46b84b6a7f659d922c783d27a9e2c9de166263998fe174204
INFO:kolla.common.utils.masakari-monitors:Successfully built masakari-monitors
INFO:kolla.common.utils.masakari-monitors:Failed to build libvirt-python
INFO:kolla.common.utils.masakari-monitors:DEPRECATION: Could not build wheels for libvirt-python which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors:Installing collected packages: libvirt-python, oslo.privsep, masakari-monitors
INFO:kolla.common.utils.masakari-monitors: Running setup.py install for libvirt-python: started
INFO:kolla.common.utils.masakari-monitors: Running setup.py install for libvirt-python: finished with status 'error'
INFO:kolla.common.utils.masakari-monitors: ERROR: Command errored out with exit status 1:
INFO:kolla.common.utils.masakari-monitors: command: /var/lib/kolla/venv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-i4xha2_6/install-record.txt --single-version-externally-managed --compile --install-headers /var/lib/kolla/venv/include/site/python3.6/libvirt-python
INFO:kolla.common.utils.masakari-monitors: cwd: /tmp/pip-install-zaedn4pq/libvirt-python/
INFO:kolla.common.utils.masakari-monitors: Complete output (13 lines):
INFO:kolla.common.utils.masakari-monitors: running install
INFO:kolla.common.utils.masakari-monitors: running build
INFO:kolla.common.utils.masakari-monitors: /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
INFO:kolla.common.utils.masakari-monitors: /var/lib/kolla/venv/bin/python3.6 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
INFO:kolla.common.utils.masakari-monitors: Found 480 functions in /usr/share/libvirt/api/libvirt-api.xml
INFO:kolla.common.utils.masakari-monitors: Found 0 functions in libvirt-override-api.xml
INFO:kolla.common.utils.masakari-monitors: Generated 389 wrapper functions
INFO:kolla.common.utils.masakari-monitors: Missing type converters:
INFO:kolla.common.utils.masakari-monitors: char ** *:1
INFO:kolla.common.utils.masakari-monitors: char **:1
INFO:kolla.common.utils.masakari-monitors: ERROR: failed virDomainAuthorizedSSHKeysGet
INFO:kolla.common.utils.masakari-monitors: ERROR: failed virDomainAuthorizedSSHKeysSet
INFO:kolla.common.utils.masakari-monitors: error: command '/var/lib/kolla/venv/bin/python3.6' failed with exit status 1
INFO:kolla.common.utils.masakari-monitors: ----------------------------------------
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors:ERROR: Command errored out with exit status 1: /var/lib/kolla/venv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zaedn4pq/libvirt-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-i4xha2_6/install-record.txt --single-version-externally-managed --compile --install-headers /var/lib/kolla/venv/include/site/python3.6/libvirt-python Check the logs for full command output.
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors:WARNING: You are using pip version 20.2.2; however, version 21.1.2 is available.
INFO:kolla.common.utils.masakari-monitors:You should consider upgrading via the '/var/lib/kolla/venv/bin/python3.6 -m pip install --upgrade pip' command.
INFO:kolla.common.utils.masakari-monitors:
INFO:kolla.common.utils.masakari-monitors:Removing intermediate container 27bcf1db13df
ERROR:kolla.common.utils.masakari-monitors:Error'd with the following message
ERROR:kolla.common.utils.masakari-monitors:The command '/bin/sh -c ln -s masakari-monitors-source/* masakari-monitors && python3.6 -m pip --no-cache-dir install --upgrade -c /requirements/upper-constraints.txt /masakari-monitors && mkdir -p /etc/masakari-monitors && chown -R masakari: /etc/masakari-monitors' returned a non-zero code: 1

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Oddly, in CI only stable/train fails but with exactly this error message.

Revision history for this message
Buddhika Sanjeewa (bsanjeewa) wrote :

According to https://libvirt.org/news.html, virDomainAuthorizedSSHKeysGet() and virDomainAuthorizedSSHKeysSet() are added on v6.10.0 (2020-12-01)

According to upper-constraints.txt, libvirt-python===6.6.0

What I see is, since libvirt 7 is available on CentOS new release, virDomainAuthorizedSSHKeysGet() and virDomainAuthorizedSSHKeysSet() are there, but libvirt-python===6.6.0 doesn't have the definitions

I think downgrading libvirt to 6.6 or lower in centos-base or masakari-base or at least masakari-monitors may solve the issue (AppStream already has 6.0 as I remember - but not sure if it will help)

Revision history for this message
Mark Goddard (mgoddard) wrote :
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

So, the other branches were saved by the optimisation to use infra wheels. However, they fail for end users running kolla-build locally.

summary: - Cannot build masakari-monitors on stable/victoria
+ Cannot build masakari-monitors on stable/victoria and older
Changed in kolla:
status: New → Invalid
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/kolla/+/797109

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)

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/797102
Committed: https://opendev.org/openstack/kolla/commit/29048206ed67323b318f35f5756d41e8e83f5b8d
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 29048206ed67323b318f35f5756d41e8e83f5b8d
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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 10.3.0

This issue was fixed in the openstack/kolla 10.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 11.1.0

This issue was fixed in the openstack/kolla 11.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.