Closed ColinRothgang closed 7 years ago
@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?.
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?.
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: