Bug 502110
Summary: | virt-manager does not re-connect after libvirtd restart | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | IBM Bug Proxy <bugproxy> | ||||
Component: | virt-manager | Assignee: | Daniel Berrangé <berrange> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 11 | CC: | berrange, clalance, crobinso, hbrock, itamar, markmc, quintela, veillard, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-07-15 00:03:19 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 480594 | ||||||
Attachments: |
|
Description
IBM Bug Proxy
2009-05-21 22:30:50 UTC
Created attachment 345036 [details]
Screenshot showing error
Please use "rpm -q virt-manager python-virtinst libvirt qemu-system-x86" to let us know exactly what versions you are using I can't reproduce this here, could you try again with the latest libvirt and qemu from updates-testing ? https://admin.fedoraproject.org/updates/libvirt-0.6.2-11.fc11 https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5050 ------- Comment From pavan.naregundi.com 2009-05-26 03:23 EDT------- (In reply to comment #8) > Please use "rpm -q virt-manager python-virtinst libvirt qemu-system-x86" to let > us know exactly what versions you are using > virt-manager-0.7.0-4.fc11.x86_64 python-virtinst-0.400.3-8.fc11.noarch libvirt-0.6.2-8.fc11.x86_64 qemu-system-x86-0.10-16.fc11.x86_64 > I can't reproduce this here, could you try again with the latest libvirt and > qemu from updates-testing ? > > https://admin.fedoraproject.org/updates/libvirt-0.6.2-11.fc11 > https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5050 > Updated qemu and libvirt. virt-manager-0.7.0-4.fc11.x86_64 python-virtinst-0.400.3-8.fc11.noarch libvirt-0.6.2-11.fc11.x86_64 qemu-system-x86-0.10.4-4.fc11.x86_64 Tried with windows guest.. Still seeing the error. Restarting the libvirtd demon after the guest boots UP is important to reproduce this issue. Thanks Pavan It seems to be that if you restart libvirtd while running virt-manager, virt-manager doesn't re-open the connection. As soon as you restart, this traceback gets spewed over and over to virt-manager.log: [Tue, 26 May 2009 10:18:47 virt-manager 4413] ERROR (engine:160) Could not refresh connection qemu:///system <class 'libvirt.libvirtError'> cannot send data: Broken pipe Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 154, in _tick self.connections[uri]["connection"].tick() File "/usr/share/virt-manager/virtManager/connection.py", line 994, in tick self.hostinfo = self.vmm.getInfo() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1295, in getInfo if ret is None: raise libvirtError ('virNodeGetInfo() failed', conn=self) libvirtError: cannot send data: Broken pipe Upstream virt-manager won't spew the above error anymore: http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/32d53a01e595 But we don't attempt a reconnect. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I think this is a WONTFIX actually. From the virt-manager perspective, we can't tell if libvirtd has been restarted or not. So we could try something like a quick reconnect incase someone did a 'service libvirtd restart', but with possibly password prompts and supressing error messages, it would seriously be more trouble than its worth. It's very little extra effort for the user to 'Right Click -> Connect' in manager window (with current upstream). ------- Comment From emachado.ibm.com 2009-07-15 18:45 EDT------- Hello Red Hat, as you mentioned in a previous comment, upstream virt-manager was changed in order to avoid the error message when restarting libvirtd daemon. Would you know when this fix will be available for Fedora? Is this already on rawhide? Please provide the virt-manager package version if possible. Thanks for your support. (In reply to comment #8) > Hello Red Hat, Hello IBM :-) > > as you mentioned in a previous comment, upstream virt-manager was changed in > order to avoid the error message when restarting libvirtd daemon. Would you > know when this fix will be available for Fedora? Is this already on rawhide? > Please provide the virt-manager package version if possible. That is fixed by virt-manager-0.8.0-1.fc12 in rawhide ------- Comment From santwana.samantray.com 2009-09-07 03:34 EDT------- Hello Redhat, I verified this issue in Fedora12 - Alpha release(k.v- 2.6.31-0.125.4.2.rc5.git2.fc12.x86_64), and its working fine. I am able to shutdown the guest through virt-manager , even after restarting libvirtd. The version of virt-manager is "virt-manager-0.8.0-2.fc12.noarch" Thanks, Santwana |