Install libvirt-python from source instead of a wheel
Apparently the binary installation no longer works. Change-Id: I4ab7cf8432ccce0c3286b7ac696acfb3d4e64655
This commit is contained in:
parent
a14d96a2de
commit
79c8418ead
@ -22,16 +22,24 @@
|
|||||||
- default_boot_mode != 'uefi'
|
- default_boot_mode != 'uefi'
|
||||||
- test_vm_secure_boot | bool
|
- test_vm_secure_boot | bool
|
||||||
|
|
||||||
- name: install libvirt-python, gunicorn and lxml
|
- name: install gunicorn and lxml
|
||||||
include_role:
|
include_role:
|
||||||
name: bifrost-pip-install
|
name: bifrost-pip-install
|
||||||
vars:
|
vars:
|
||||||
package: "{{ item }}"
|
package: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- libvirt-python
|
|
||||||
- gunicorn
|
- gunicorn
|
||||||
- lxml
|
- 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
|
- name: configure libvirt log filters for qemu
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/libvirt/libvirtd.conf
|
path: /etc/libvirt/libvirtd.conf
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Works around the ``libvirt module is not importable`` error by installing
|
||||||
|
libvirt-python from source install of a wheel.
|
Loading…
x
Reference in New Issue
Block a user