#12 After Shutdown a vm, General tab is not filed properly.

v0.1
accepted
nobody
None
5
2014-07-17
2011-08-15
Anonymous
No

When go for shutdown a vlm, i got this:

Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'OpaqueRef:892ecbf3-518c-f5a0-cd74-555a5a643146'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'OpaqueRef:892ecbf3-518c-f5a0-cd74-555a5a643146'

Then the button "Start" (and all, except "Add new server") is grey (disabled)

After select another VM, and then go back to the one shot down. "Start" is available.

I got this:
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'OpaqueRef:241b12a1-fe95-dcaf-f8e5-819edf46ca6a'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'OpaqueRef:241b12a1-fe95-dcaf-f8e5-819edf46ca6a'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'OpaqueRef:241b12a1-fe95-dcaf-f8e5-819edf46ca6a'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1894, in <lambda>
gobject.idle_add(lambda: self.wine.push_alert("%s %s %s" % (event["snapshot"]["name_label"], self.all_vms[self.track_tasks[event["ref"]]]["name_label"], (" %.2f%%" % (float(event["snapshot"]["progress"])*100)))) and False)
KeyError: 'name_label'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 2245, in <lambda>
gobject.idle_add(lambda: self.wine.update_tabs() and False)
File "window.py", line 670, in update_tabs
self.xc_servers[self.selected_host].update_tab_vm_general(self.selected_ref, self.builder)
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1686, in update_tab_vm_general
if "name" in guest_metrics["os_version"]:
KeyError: 'os_version'
Traceback (most recent call last):
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 2245, in <lambda>
gobject.idle_add(lambda: self.wine.update_tabs() and False)
File "window.py", line 670, in update_tabs
self.xc_servers[self.selected_host].update_tab_vm_general(self.selected_ref, self.builder)
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1686, in update_tab_vm_general
if "name" in guest_metrics["os_version"]:
KeyError: 'os_version'

During start process until VM is up.

Then, "shutdown" and "Reboot" buttons are available. But "general" tab is not updated. Worth if i select another VM and then bo back to the one just restarted, "general" tab still showing the previous VM. Plus, evety clicked on the (just restarted VM) shows this:

Traceback (most recent call last):
File "window.py", line 1335, in on_treevm_button_press_event
self.update_tabs()
File "window.py", line 670, in update_tabs
self.xc_servers[self.selected_host].update_tab_vm_general(self.selected_ref, self.builder)
File "/opt/openxenmanager-svn/trunk/oxcSERVER.py", line 1686, in update_tab_vm_general
if "name" in guest_metrics["os_version"]:
KeyError: 'os_version'

Hope this helps>>>

OpenXenManager: Rev 78

Dave

Discussion

  • Daniel Lintott

    Daniel Lintott - 2014-06-23
    • status: open --> accepted
    • Group: --> v0.1
     
  • Daniel Lintott

    Daniel Lintott - 2014-06-23
    • Group: v0.1 --> v0.2
     
  • Daniel Lintott

    Daniel Lintott - 2014-06-24
    • Group: v0.2 --> v0.1
     

Log in to post a comment.