New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in manager #507

Closed
marmarek opened this Issue Mar 8, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 23 Mar 2012 13:29 UTC
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[backend_xid = blk[b](b]['device'],)['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

Migrated-From: https://wiki.qubes-os.org/ticket/507

@marmarek marmarek added this to the Release 1 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 30 Mar 2012 10:57 UTC
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[backend_xid = blk[b](b]['device'],)['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
Member

marmarek commented Mar 8, 2015

Comment by joanna on 30 Mar 2012 10:57 UTC
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[backend_xid = blk[b](b]['device'],)['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
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by aga on 1 Apr 2012 22:13 UTC
Needs synchronization in block_check_attached.
Moving to core.

Member

marmarek commented Mar 8, 2015

Comment by aga on 1 Apr 2012 22:13 UTC
Needs synchronization in block_check_attached.
Moving to core.

@marmarek marmarek added the C: core label Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 2 Apr 2012 07:56 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 2 Apr 2012 07:56 UTC

@marmarek marmarek assigned marmarek and unassigned rootkovska Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment