View Issue Details

IDProjectCategoryView StatusLast Update
0004167CentOS-5kvmpublic2010-02-01 15:36
Status closedResolutionduplicate 
Product Version5.4 
Target VersionFixed in Version 
Summary0004167: kvm-83 is missing dependency on qspice-libs, breaks out-of-the-box kvm

Clean, fairly minimal, install of CentOS 5.4, updates applied
Extra packages installed: kvm, libvirt, python-virtinst, qemu, virt-manager


Starting a virtual machine instance fails with the message:
# virsh -c qemu:///system start ubuntu-9.10-server-amd64
error: Failed to start domain ubuntu-9.10-server-amd64
error: internal error cannot parse QEMU version number in ''


The QEMU code in libvirt runs the command
  /usr/libexec/qemu-kvm -help
to parse the QEMU version number.

However, /usr/libexec/qemu-kvm does not run because of a missing library:
# /usr/libexec/qemu-kvm -help
/usr/libexec/qemu-kvm: error while loading shared libraries: cannot open shared object file: No such file or directory
# ldd /usr/libexec/qemu-kvm | grep libspice => not found

Installing the missing library (provided by qspice-libs) solves the problem:
# yum install -y qspice-libs
# rpm -q qspice-libs
# /usr/libexec/qemu-kvm -help | head -n 1
QEMU PC emulator version 0.9.1 (kvm-83-maint-snapshot-20090205), Copyright (c) 2003-2008 Fabrice Bellard
# virsh -c qemu:///system start ubuntu-9.10-server-amd64
Domain ubuntu-9.10-server-amd64 started


Please add a dependency on qspice-libs to the kvm package.
TagsNo tags attached.


related to 0004111 Move the qemu package from extras to centosplus 




2010-01-28 11:14

administrator   ~0010869

The qemu and kvm stuff from CentOS Extras has to get *OUT* of the extras repository. You mixed things from 5.4 and older stuff from the extras repository, that does not work.


2010-02-01 12:07

reporter   ~0010908

Thanks for the explanation. You say:

> You mixed things from 5.4 and older stuff from the extras repository, that does not work.

The machine was installed with a clean install of CentOS. According to the "Extras" repository is:
1. The CentOS development team have tested every item in this repository and they all work with CentOS.
2. This repository is shipped with CentOS and is enabled by default.

So, yes, it would be a good idea to get the qemu and kvm stuff out of the CentOS Extras repo :-)



2010-02-01 15:36

manager   ~0010912

Closing the ticket. Please follow bug #4111 for progress.

Issue History

Date Modified Username Field Change
2010-01-28 11:12 twpayne New Issue
2010-01-28 11:14 range Note Added: 0010869
2010-01-28 17:00 toracat Relationship added related to 0004111
2010-02-01 12:07 twpayne Note Added: 0010908
2010-02-01 15:36 toracat Note Added: 0010912
2010-02-01 15:36 toracat Status new => closed
2010-02-01 15:36 toracat Resolution open => duplicate