Bug 718804 - Missing Requires: libvirt, qemu-kvm
Summary: Missing Requires: libvirt, qemu-kvm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-04 17:57 UTC by Severin Gehwolf
Modified: 2011-07-11 17:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-11 16:19:52 UTC
Type: ---


Attachments (Terms of Use)

Description Severin Gehwolf 2011-07-04 17:57:24 UTC
Description of problem:
yum install virt-manager does not install libvirt. However, when virt-manager is started, it complains that no libvirtd is running. Note that libvirtd is provided by libvirt. This may be a Requires: libvirt problem in libvirt-python.

Version-Release number of selected component (if applicable):
$ rpm -q virt-manager
virt-manager-0.8.7-4.fc15.noarch

How reproducible:
Always.

Steps to Reproduce:
1. $ yum install virt-manager (on fresh F15 install)
2. $ virt-manager
3. virt-manager complains about libvirtd not running
  
Actual results:
Error regarding libvirtd not running.
# service libvirtd start
libvirtd: unrecognized service

Expected results:
# service libvirtd start works.

Additional info:
yum install libvirt solves the problem. Note that I ran into a similar problem with respect to qemu-kvm. After installing libvirt, virt-manager started without an error showing up immediately, but it warned me that no KVM/QEMU was available when I tried to create a new VM. It would be nice if virt-manager had reasonable requires so that it may work in theory after a yum install of virt-manager. Am I missing something?

Comment 1 Cole Robinson 2011-07-11 16:19:52 UTC
These are deliberately not hard requirements of virt-manager, since virt-manager can be used with other hypervisors like lxc or xen (so not strictly requiring qemu/kvm) and could be used to only connect to a remote host (thus not requiring libvirtd on local machine).

However virt-manager should try and talk to packagekit on first run and ask the user to install kvm and libvirt. did that not happen for you?

It is a pain for users but we can't use RPM dependencies to work around this issue since it will leave a small subset of users with no recourse except to break RPM deps. This would be a nice case to have a Recommends: or similar in RPM but that doesn't exist yet. Closing as NOTABUG.

Comment 2 Severin Gehwolf 2011-07-11 17:01:22 UTC
(In reply to comment #1)
> These are deliberately not hard requirements of virt-manager, since
> virt-manager can be used with other hypervisors like lxc or xen (so not
> strictly requiring qemu/kvm) and could be used to only connect to a remote host
> (thus not requiring libvirtd on local machine).

Ok.

> However virt-manager should try and talk to packagekit on first run and ask the
> user to install kvm and libvirt. did that not happen for you?

No that didn't happen.

> It is a pain for users but we can't use RPM dependencies to work around this
> issue since it will leave a small subset of users with no recourse except to
> break RPM deps. This would be a nice case to have a Recommends: or similar in
> RPM but that doesn't exist yet. Closing as NOTABUG.

Ok, thanks for clarifying.


Note You need to log in before you can comment on or make changes to this bug.