Bug 680552

Summary: Problems installing the correct set of RPMs
Product: [Fedora] Fedora Reporter: Christopher Beland <beland>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: berrange, crobinso, hbrock, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 19:10:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Christopher Beland 2011-02-25 21:36:26 UTC
I ran "yum install virt-manager" to install virt-manager-0.8.5-1.fc14.noarch. Upon startup I got a dialog box that said:

>>
The following packages are not installed:

libvirt
qemu-system-x86

These are required to create KVM guests locally.
Would you like to install them now?
<<

I ran "yum install xen", since I was intending to use Xen instead of KVM, but after restarting I got the same dialog box.

If I run "yum install libvert qemu-system-x86" manually, I get this error for the first package:

 No package libvert available.

The second is available for install by yum, but failed (after a long list of lookup failures) with:

>>
Trying other mirror.
Error: failure: repodata/e66eba05f6594a03b52ab68ecc4e7b3f64c8ba5441801e650ad6b7122e827383-filelists.sqlite.bz2 from fedora: [Errno 256] No more mirrors to try.
<<

I tried again after "yum clean all" and I did get qemu-system-x86-0.13.0-1.fc14.x86_64 and a few dependencies.

But after restarting, I got a new dialog box that says:

>>
Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu:///system

Verify that:
 - The 'libvirtd' daemon has been started

unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 983, in _try_open
    None], flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 111, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
<<

I don't see "libvirtd" anywhere on my filesystem, and I don't know how to install it.  If virt-manager needs it to run, it should be a dependency.

Comment 1 Cole Robinson 2011-03-23 19:10:33 UTC
(In reply to comment #0)
> I ran "yum install virt-manager" to install virt-manager-0.8.5-1.fc14.noarch.
> Upon startup I got a dialog box that said:
> 
> >>
> The following packages are not installed:
> 
> libvirt
> qemu-system-x86
> 
> These are required to create KVM guests locally.
> Would you like to install them now?
> <<
> 
> I ran "yum install xen", since I was intending to use Xen instead of KVM, but
> after restarting I got the same dialog box.
> 

Fedora doesn't have a xen kernel in the default repo, so unless you go to repos outside fedora you won't be able to install xen guests.

If xen is ever available again in fedora, we will update virt-manager to use it if available.

> If I run "yum install libvert qemu-system-x86" manually, I get this error for
> the first package:
> 
>  No package libvert available.
> 

The package is called 'libvirt'

> The second is available for install by yum, but failed (after a long list of
> lookup failures) with:
> 
> >>
> Trying other mirror.
> Error: failure:
> repodata/e66eba05f6594a03b52ab68ecc4e7b3f64c8ba5441801e650ad6b7122e827383-filelists.sqlite.bz2
> from fedora: [Errno 256] No more mirrors to try.
> <<
> 

Not sure what happened there, but unrelated to virt-manager.

> I tried again after "yum clean all" and I did get
> qemu-system-x86-0.13.0-1.fc14.x86_64 and a few dependencies.
> 
> But after restarting, I got a new dialog box that says:
> 
> >>
> Unable to open a connection to the libvirt management daemon.
> 
> Libvirt URI is: qemu:///system
> 
> Verify that:
>  - The 'libvirtd' daemon has been started
> 
> unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be
> started: No such file or directory
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/connection.py", line 983, in
> _try_open
>     None], flags)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 111, in openAuth
>     if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd
> may need to be started: No such file or directory
> <<
> 
> I don't see "libvirtd" anywhere on my filesystem, and I don't know how to
> install it.  If virt-manager needs it to run, it should be a dependency.

Since you never installed the libvirt package, it's understandable that libvirtd is not available on your system. Please install libvirt, then run 

'service libvirtd restart'