diff --git a/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml b/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml index 25802d6f8..a6f516420 100644 --- a/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml +++ b/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml @@ -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 diff --git a/releasenotes/notes/libvirt-not-importable-c8e88a8ef11a1f09.yaml b/releasenotes/notes/libvirt-not-importable-c8e88a8ef11a1f09.yaml deleted file mode 100644 index e6d25a353..000000000 --- a/releasenotes/notes/libvirt-not-importable-c8e88a8ef11a1f09.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -fixes: - - | - Works around the ``libvirt module is not importable`` error by installing - libvirt-python from source install of a wheel.