Bug 448885
| Summary: | virt-manager UI not updated on disconnect/connect to remote host | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Alexander Todorov <atodorov> | ||||
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.2 | CC: | crobinso, llim, xen-maint | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-09-02 09:42:58 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: | |||||||
| Attachments: |
|
||||||
|
Description
Alexander Todorov
2008-05-29 09:12:04 UTC
Created attachment 307026 [details]
screen capture
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. hmm, bizarre. I actually can't reproduce but I don't have an identical set up. Is there anything in ~/.virt-manager/virt-manager.log? This is probably just a poor error path somewhere. Hmm I take that back, I can reproduce, it just that running unprivledged is the key. It is throwing and error so I'll dig into it. virt-manager.log from step 1 to step 8
[Tue, 24 Jun 2008 10:34:34 virt-manager 7016] INFO (virt-manager:126)
Application startup
[Tue, 24 Jun 2008 10:34:34 virt-manager 7019] DEBUG (engine:74) About to connect
to uris ['xen+ssh://root@redbull/', 'xen:///']
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (connection:293) Scheduling
background open thread for xen:///
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (connection:300) Background
thread is running
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (connection:329) Background
open thread complete, scheduling notify
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (connection:338) Notifying
open result
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] WARNING (connection:530) Unable to
list inactive domains
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (manager:408) About to
append vm: Domain-0
[Tue, 24 Jun 2008 10:34:41 virt-manager 7019] DEBUG (manager:398) VM Domain-0
started
[Tue, 24 Jun 2008 10:34:45 virt-manager 7019] DEBUG (connection:293) Scheduling
background open thread for xen+ssh://root@redbull/
[Tue, 24 Jun 2008 10:34:45 virt-manager 7019] DEBUG (connection:300) Background
thread is running
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (connection:329) Background
open thread complete, scheduling notify
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (connection:338) Notifying
open result
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (manager:408) About to
append vm: Domain-0
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (manager:408) About to
append vm: fedora
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (manager:408) About to
append vm: boinc
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (manager:408) About to
append vm: debian
[Tue, 24 Jun 2008 10:34:46 virt-manager 7019] DEBUG (manager:398) VM Domain-0
started
[Tue, 24 Jun 2008 10:34:55 virt-manager 7019] ERROR (virt-manager:132) Traceback
(most recent call last):
File "/usr/share/virt-manager/virtManager/manager.py", line 514, in
conn_state_changed
self.conn_refresh_resources(conn)
File "/usr/share/virt-manager/virtManager/manager.py", line 545, in
conn_refresh_resources
del self.rows[model.get_value(child, ROW_KEY)]
KeyError: '00000000-0000-0000-0000-000000000000'
None
[Tue, 24 Jun 2008 10:35:06 virt-manager 7019] ERROR (virt-manager:132) Traceback
(most recent call last):
File "/usr/share/virt-manager/virtManager/manager.py", line 514, in
conn_state_changed
self.conn_refresh_resources(conn)
File "/usr/share/virt-manager/virtManager/manager.py", line 545, in
conn_refresh_resources
del self.rows[model.get_value(child, ROW_KEY)]
KeyError: '00000000-0000-0000-0000-000000000000'
None
[Tue, 24 Jun 2008 10:35:06 virt-manager 7019] DEBUG (connection:293) Scheduling
background open thread for xen+ssh://root@redbull/
[Tue, 24 Jun 2008 10:35:06 virt-manager 7019] DEBUG (connection:300) Background
thread is running
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (connection:329) Background
open thread complete, scheduling notify
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (connection:338) Notifying
open result
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (manager:408) About to
append vm: Domain-0
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (manager:408) About to
append vm: fedora
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (manager:408) About to
append vm: boinc
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (manager:408) About to
append vm: debian
[Tue, 24 Jun 2008 10:35:07 virt-manager 7019] DEBUG (manager:398) VM Domain-0
started
The traceback above appears after I disconnect from the remote connection The problem here is that the dictionary we use for listing VMs in the manager window isn't specific enough: it only keys off UUID. This is an issue since every xen Dom0 has the same UUID (all zeros), so connecting to two xen connections simultaneously causes issues. This was fixed upstream a while ago: http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/9c4afb8ad1e6 http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/4e7c3f99f0db Should be fixed in virt-manager-0.6.1-1.el5. Setting to MODIFIED. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1285.html |