#507 closed defect (fixed)

Exception in manager

Reported by: joanna Owned by: marmarek
Priority: major Milestone: Release 1
Component: core Keywords:
Cc: aga

Description

This likely happened when I killed one of my VMs (from command line).

TypeError: 'NoneType' object is not iterable
at line 721
of file /usr/lib64/python2.6/site-packages/qubesmanager/main.py.

----
line: for devid in xs.ls('', '/local/domain/%d/backend/vbd/%s' % (backend_xid, vm_xid)):
func: block_check_attached
line no.: 247
file: /usr/lib64/python2.6/site-packages/qubes/qubesutils.py
----
line: att = qubesutils.block_check_attached(None, blk[b]['device'], backend_xid = blk[b]['xid'])
func: update
line no.: 1278
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py
----
line: res, msg = self.blk_manager.update()
func: update_block_devices
line no.: 794
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py
----
line: update_devs = self.update_block_devices() or out_of_schedule
func: update_table
line no.: 721
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py

Change History (4)

comment:1 Changed 14 months ago by joanna

Now it happend when I closed (not killed) one of my *HVM* VMs (manager v1.2.9):

TypeError: 'NoneType' object is not iterable
at line 768
of file /usr/lib64/python2.6/site-packages/qubesmanager/main.py.

----
line: for devid in xs.ls('', '/local/domain/%d/backend/vbd/%s' % (backend_xid, vm_xid)):
func: block_check_attached
line no.: 260
file: /usr/lib64/python2.6/site-packages/qubes/qubesutils.py
----
line: att = qubesutils.block_check_attached(None, blk[b]['device'], backend_xid = blk[b]['xid'])
func: update
line no.: 1345
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py
----
line: res, msg = self.blk_manager.update()
func: update_block_devices
line no.: 846
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py
----
line: update_devs = self.update_block_devices() or out_of_schedule
func: update_table
line no.: 768
file: /usr/lib64/python2.6/site-packages/qubesmanager/main.py

comment:2 Changed 14 months ago by aga

  • Component changed from graphical-manager to core

Needs synchronization in block_check_attached.
Moving to core.

comment:3 Changed 14 months ago by marmarek

  • Owner changed from joanna to marmarek
  • Status changed from new to accepted

comment:4 Changed 14 months ago by marmarek

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.