Bug 800896

Summary: virt-manager should start libvirtd if not yet started
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, crobinso, dpierce, 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: 2012-06-06 20:08:02 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 Stef Walter 2012-03-07 13:34:02 UTC
Description of problem:

After installing virt-manager and libvirt, and then starting virt-manager for the first time I see a dialog with this message:

Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1185, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1167, in _try_open
    flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

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

Name        : virt-manager
Arch        : noarch
Version     : 0.9.1
Release     : 2.fc17


How reproducible:

Every time


Steps to Reproduce:
1. Install virt-manager and libvirt
2. Double click on "localhost (QEMU)"
  
Actual results:

See the technical message.

Expected results:

virt-manager should start libvirtd if it's not yet started, whether by dbus or via systemd.

Comment 1 Cole Robinson 2012-06-06 20:08:02 UTC

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