Merge "Revert "Install libvirt-python from source instead of a wheel""

This commit is contained in:
Zuul 2022-02-07 19:24:12 +00:00 committed by Gerrit Code Review
commit 3464eeec20
2 changed files with 2 additions and 15 deletions

View File

@ -22,24 +22,16 @@
- default_boot_mode != 'uefi'
- test_vm_secure_boot | bool
- name: install gunicorn and lxml
- name: install libvirt-python, gunicorn and lxml
include_role:
name: bifrost-pip-install
vars:
package: "{{ item }}"
loop:
- libvirt-python
- gunicorn
- lxml
- name: install libvirt-python
include_role:
name: bifrost-pip-install
vars:
package: libvirt-python
# FIXME(dtantsur): libvirt-python 7.5.0 cannot be used when installed from
# a wheel, force a source installation
extra_args: --no-binary libvirt-python
- name: configure libvirt log filters for qemu
blockinfile:
path: /etc/libvirt/libvirtd.conf

View File

@ -1,5 +0,0 @@
---
fixes:
- |
Works around the ``libvirt module is not importable`` error by installing
libvirt-python from source install of a wheel.