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

qvm-block not recognizing that a certain VM is running #1074

Closed
nvesely opened this Issue Jul 21, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@nvesely

nvesely commented Jul 21, 2015

I'm sometimes unable to attach block devices, at the end of this traceback it's being reported that the research VM is not running, however, it is and is being recognized as being started by qvm-ls as well.

[ringminusone@dom0 ~]$ qvm-block -a research dom0:sdb1
Traceback (most recent call last):
  File "/usr/bin/qvm-block", line 151, in <module>
    main()
  File "/usr/bin/qvm-block", line 105, in main
    block_attach(qvm_collection, vm, dev, **kwargs)
  File "/usr/lib64/python2.7/site-packages/qubes/qubesutils.py", line 408, in block_attach
    block_detach(attached_vm['vm'], attached_vm['frontend'])
  File "/usr/lib64/python2.7/site-packages/qubes/qubesutils.py", line 446, in block_detach
    vm.libvirt_domain.detachDevice(etree.tostring(disk, encoding='utf-8'))
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1095, in detachDevice
    if ret == -1: raise libvirtError ('virDomainDetachDevice() failed', dom=self)
libvirt.libvirtError: Requested operation is not valid: Domain is not running

Edit: R3-rc1. I also tried formatting the USB and the error persisted.

@marmarek marmarek added this to the Release 3.0 milestone Jul 21, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 21, 2015

Member

Already fixed in QubesOS/qubes-core-admin@310ba9f, package still in testing repo.

Member

marmarek commented Jul 21, 2015

Already fixed in QubesOS/qubes-core-admin@310ba9f, package still in testing repo.

@marmarek marmarek closed this Jul 21, 2015

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