Bug 517112

Summary: virt-manager fails to connect
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, itamar, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-13 11:59:58 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 517257    
Bug Blocks:    

Description Tim Waugh 2009-08-12 12:18:41 EDT
Description of problem:
virt-manager fails to connect to libvirt.  I'm logged in at the console on a fresh rawhide install, and libvirtd is running.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Start virt-manager.
Actual results:
'Connection Failure' dailog:

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 open connection to hypervisor URI 'qemu:///system':
Failed to collect auth credentials
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 456, in _try_open
    None], flags)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to collect auth credentials

Worked fine in Fedora 11.
Comment 1 Tim Waugh 2009-08-13 05:31:18 EDT
strace reveals this to have the same cause as bug #515906:

[pid  4303] read(19, "l\3\1\1^\0\0\0\7\0\0\0u\0\0\0\6\1s\0\6\0\0\0:1.193\0\0\4\1
\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0Y\0\0\0Could not get 
owner of name 'org.freedesktop.PolicyKit.AuthenticationAgent': no such name\0"..
., 2048) = 230
Comment 2 Daniel Berrange 2009-08-13 11:59:58 EDT

*** This bug has been marked as a duplicate of bug 499970 ***