Skip to content

Commit 614ca26

Browse files
committed
Install qemu-kvm package on centos/fedora
Change I79a8d8ac7ad2fbd7d2fce696821d130218e43e03 removed the install of python-libguestfs, which was actually hiding a dependency issue on Centos. The "kvm" package is ultimately missing some bios files from "seabios-bin" -- however with python-libguestfs installed this was coming in via a dependency chain that pulled in qemu-kvm, which has the dependency. qemu-kvm is not strictly required as all the functionality is within qemu-system-x86. But while we get [1] sorted out this restores the job functionality. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1235890 Change-Id: I3379bc497978befac48c5af0f1035b96d030b7eb
1 parent c782781 commit 614ca26

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

files/rpms/nova

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ iptables
1010
iputils
1111
kpartx
1212
kvm # NOPRIME
13+
qemu-kvm # NOPRIME
1314
libvirt-bin # NOPRIME
1415
libvirt-devel # NOPRIME
1516
libvirt-python # NOPRIME

lib/nova_plugins/functions-libvirt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ function install_libvirt {
3434
#pip_install_gr <there-si-no-guestfs-in-pypi>
3535
elif is_fedora || is_suse; then
3636
install_package kvm
37+
# there is a dependency issue with kvm (which is really just a
38+
# wrapper to qemu-system-x86) that leaves some bios files out,
39+
# so install qemu-kvm (which shouldn't strictly be needed, as
40+
# everything has been merged into qemu-system-x86) to bring in
41+
# the right packages. see
42+
# https://bugzilla.redhat.com/show_bug.cgi?id=1235890
43+
install_package qemu-kvm
3744
install_package libvirt libvirt-devel
3845
pip_install_gr libvirt-python
3946
fi

0 commit comments

Comments
 (0)