Bug 1035368
Summary: | virt-manager does not work without dbus-daemon | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Albert Flügel <af> |
Component: | virt-manager | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | acathrow, af, agajania, codong, dyuan, hyao, lcui, mkletzan, mzhan, tzheng, zsong |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-06 16:11:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Albert Flügel
2013-11-27 15:58:24 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. I tried booting cleanly into runlevel 3 and stopping messagebus service. I used 'ssh -Y' to connect there as root ('ssh -X' works too). No dbus daemon was running at the time and starting virt-maganer succeeded, starting/stopping a machine worked as well. Running 'virt-manager --debug -c qemu+ssh://root@myhost/system' worked as well, only asking for the password appeared on the command line. Removing --debug caused virt-manager to ask with a dialog and again, everything worked as expected. Logging in there as a user, I could do everything except connecting to qemu:///system locally due to this error: authentication failed: ** (process:5256): WARNING **: Error connecting to bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused It's pretty obvious that I get this message when the system dbus is stopped. Can you isolate one issue that you are facing and try to reproduce that also without virt-manager, in order to see where the problem lies? Thank you. (In reply to Martin Kletzander from comment #3) > I tried booting cleanly into runlevel 3 and stopping messagebus service. I > used 'ssh -Y' to connect there as root ('ssh -X' works too). No dbus daemon > was running at the time and starting virt-maganer succeeded, > starting/stopping a machine worked as well. Running 'virt-manager --debug > -c qemu+ssh://root@myhost/system' worked as well, only asking for the > password appeared on the command line. Removing --debug caused virt-manager > to ask with a dialog and again, everything worked as expected. > I tried to kill dbus dameon on remote machine manually,then ssh to that machine and try to launch virt-manager,I will get the same error as description: Error starting Virtual Machine Manager: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-LZlim7hIEG: Connection refused) The bad news is, that i don't have access anymore to the environment, where i experienced the described phenomena (due to a change of the employer). Probably i'll have the chance to create a similar setup elsewhere, but this may take some time. It seems really weird to me, that the problem cannot be reproduced. It hit me notoriously throughout for many months on 2 machines and tracing and experimenting with some configuration parameters of ssh, authentication, desktop environment, virt-manager connection type etc did not change anything or give any clue. Would you be OK with us closing this as INSUFFICIENT DATA for now as you'll be able to reopen it any time you have new info? Frankly, too me it feels a bit unpleasant, because it shows, that the issue is still not even understood at all. However. If this is your preferred way to handle it, feel free. (In reply to Albert Flügel from comment #7) The problem is that we are unable to reproduce this issue and thus we don't know where the problem might be (it looks like a libvirt bug, I guess and it might be fixed already as well). There just isn't enough information for us to search for it. We'd be more than happy to help with the issue and fix it (if applicable), but for now we can only guess where the problem might be. I'm closing this now as INSUFFICIENT_DATA, don't hesitate to reopen the bug anytime you (or anyone else) have anything related to this issue. Thank you for understanding. Ignore previous comment, I missed comment #4, sorry. Inspecting this BZ again I'm closing it as INSUFFICIENT_DATA (again) with the following explanation: This BZ was filed in order to address multiple issues and there was not one issue isolated we could focus on. From the description it looks like dbus-daemon died (it was started earlier, hence the "/tmp/dbus-92vjx9L6ca" setting, probably left in some environment variable like DBUS_SESSION_BUS_ADDRESS or similar). We couldn't isolate neither identify the issue and since the environment in which this happened doesn't exist (or is unacceesable) anymore, there is no way how to retrieve additional data. In the case of initiating dbus-daemon; that should be done on a system level in order to properly share that daemon for the same session, but it is not clear that missing daemon was the reason (see previous paragraph). So (similarly to previous comment #8) I'm closing this BZ. It can be opened in case there is the possibility to request additional information from environment experiencing this (these) issues. Thank you for understanding. I found this bug because I was seeing problems in virt-manager similar to https://www.redhat.com/archives/virt-tools-list/2014-May/msg00031.html It turns out that the problem was that I had multiple ifcfg files for DEVICEs em1, em2, and bond0. This seemed to be confusing libvirtd. The following lines were found in the logs Aug 24 19:02:18 hostname libvirtd[1768]: (interface_definition):14: Extra content at the end of the document </interface><interface type="ethernet" name="em1"> ------------^ It was surprising to me that issues with ifcfg files would cause the virt-manager GUI to become unstable. I just tried unsuccessfully to re-create an installation where I can successfully run virt-manager after connecting with ssh -X . (See Comment #11 for when I thought I had it working.) Even after installing the "Server with GUI" environment group, I still get an unstable virt-manager GUI when logging in with ssh -X. |