Bug 1213299 - GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (2)
Summary: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedeskt...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-20 09:41 UTC by Marcin Juszkiewicz
Modified: 2015-06-05 23:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-05 23:03:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (46.85 KB, image/jpeg)
2015-04-20 09:41 UTC, Marcin Juszkiewicz
no flags Details

Description Marcin Juszkiewicz 2015-04-20 09:41:14 UTC
Created attachment 1016276 [details]
screenshot

Description of problem:

Installed Fedora 22 (Server + Virtualization) on AArch64. Logged remotely via SSH -X and launched virt-manager (as a root).

I got "Could not detect a default hypervisor" information so went to File/Add connection. And that gave me error message and Python traceback:

Error launching connect dialog: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (2)

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 709, in _do_show_connect
    self._get_connect_dialog().show(src.topwin, reset_state)
  File "/usr/share/virt-manager/virtManager/connect.py", line 143, in show
    self.start_browse()
  File "/usr/share/virt-manager/virtManager/connect.py", line 273, in start_browse
    service, domain, flags)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
    None)
Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (2)

When I press OK then connection is created.

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

1.1.0-5.git310f6527.fc22

How reproducible:

always

Steps to Reproduce:
1. install fresh system (Fedora Server + Virtualization)
2. launch virt-manager
3. use "File/Add Connection" menu entry

Actual results:

error with traceback

Expected results:

no error

Additional info:

Comment 1 Cole Robinson 2015-04-20 16:34:13 UTC
Thanks for the report, fixed upstream now:

commit 8aefc012c54c3839a88b386e55ea513508f26f99
Author: Cole Robinson <crobinso>
Date:   Mon Apr 20 12:32:33 2015 -0400

    connect: Fix handling of missing avahi (bz 1213299)

Comment 2 Fedora Update System 2015-05-04 19:41:02 UTC
virt-manager-1.2.0-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/virt-manager-1.2.0-1.fc22

Comment 3 Fedora Update System 2015-05-08 07:42:37 UTC
Package virt-manager-1.2.0-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.2.0-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7640/virt-manager-1.2.0-1.fc22
then log in and leave karma (feedback).


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