Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-remove is not working, since saving the qvm_collection fails, because getting the dispvm_netvm fails #2603
Comments
andrewdavidwong
added
bug
C: core
labels
Jan 25, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Jan 25, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
unman
Jan 26, 2017
Member
@ColinRothgang It isn't clear to me why you are doing this. but in any case I cant reproduce your problem.
The command you cite under "General Notes" completes without problem for me, other than noting that the files have already been deleted.
What version of qubes-core do you have installed?.
|
@ColinRothgang It isn't clear to me why you are doing this. but in any case I cant reproduce your problem. What version of qubes-core do you have installed?. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
ColinRothgang
Jan 26, 2017
I am running Qubes R 3.2. And for some reason the error is gone now
(including the named cited command), however I had some other strange
problems and while working around/trying stuff out, so I might have
accidentally removed the problem.
But you are right, it looks like there might have been something else
wrong before, but I haven't touched any of these source files before the
error (and now I reverted back). The code looks different than the one
on Github however (I'm having only 2155 lines of code).
unman:
… @ColinRothgang It isn't clear to me why you are doing this. but in any case I cant reproduce your problem.
The command you cite under "General Notes" completes without problem for me, other than noting that the files have already been deleted.
What version of qubes-core do you have installed?.
ColinRothgang
commented
Jan 26, 2017
|
I am running Qubes R 3.2. And for some reason the error is gone now
(including the named cited command), however I had some other strange
problems and while working around/trying stuff out, so I might have
accidentally removed the problem.
But you are right, it looks like there might have been something else
wrong before, but I haven't touched any of these source files before the
error (and now I reverted back). The code looks different than the one
on Github however (I'm having only 2155 lines of code).
unman:
… @ColinRothgang It isn't clear to me why you are doing this. but in any case I cant reproduce your problem.
The command you cite under "General Notes" completes without problem for me, other than noting that the files have already been deleted.
What version of qubes-core do you have installed?.
|
andrewdavidwong
closed this
Jan 27, 2017
andrewdavidwong
added
notanissue
and removed
bug
labels
Jan 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ColinRothgang commentedJan 25, 2017
•
edited by andrewdavidwong
Edited 1 time
-
andrewdavidwong
edited Jan 25, 2017 (most recent)
Qubes OS R3.2
Affected Template VMs:
Unknown but probably any.
Expected behavior:
when calling qvm-remove (optionally with --just-db, this doesn't seem to make any difference except a warning) on a VM, whose files were deleted it should remove the VM from the system.
Actual behavior:
I tried to remove a VM (later called me just call it whonix-gw (name changed))
Thew command failed with the output:
Steps to reproduce the behavior:
At that point I just checked out the specified source code file put in the name of the dispvm_netvm hardcoded and tried again (this time successfully). When trying to delete other VMs later on (with the original source code) the same error occurred, so I changed the dispvm_netvm to sys-firewall and put in the hardcoded sys-firewall again. Again the command ran without any problems. However, both qvm-prefs -l and Qubes VM Manager showed the correct settings for the dispvm_netvm, so I don't see why it should behave like this. I build a workaround for now, but I want to report this as other people might experience the same problem.
General notes:
I am running a Lenovo Thinkpad T440p without VT-x.
This occured the first time after upgrading from Qubes OS R3.1 to Qubes R3.2. However, it also occured later with a HVM and some Dispostable VMs who were not deleted correctly.
When testing now with a slightly different version of the code I get this error:
This error also appears with the original source code (in the line with if self.dispvm_netvm is not None).
Related issues:
While testing on this issue I also experienced an incomplete deletion of the created VMs (although they don't appear in qvm-ls anymore). The error description is: