tetra...@danwin1210.me
unread,Oct 8, 2021, 7:36:27 AM10/8/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qubes...@googlegroups.com
I started uprading Whonix using the salt command, but the process was
interrupted.
On retrying, it fails, unable to create the whonix WS VM due to
"permission denied". From journalctl:
Oct 08 11:24:35 dom0 qubesd[2098]: permission denied for call b'admin.vm.Create.AppVM'+b'whonix-ws-16' (b'dom0' → b'dom0') with payload of 31 bytes
(see below for the salt output)
When I run the qvm-create command from the salt output manually, it also
fails, because the whonix-ws-16 template doesn't exist:
$ qvm-create --verbose whonix-ws-16-dvm --class=AppVM --template=whonix-ws-16 --label=red
2021-10-08 11:33:54,499 [MainProcess qvm_create.main:177] app: Error creating VM: Got empty response from qubesd. See journalctl in dom0 for details.
I assume all this is related to the failed previous attempt.
How do I reset the state so that I can successfully do the upgrade?
[user@dom0 ~]$ sudo qubesctl state.sls qvm.anon-whonix
[WARNING ] /var/cache/salt/minion/extmods/states/ext_state_qvm.py:146: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
status = Status(retcode=1, result=False, stderr=err.message + '\n')
[ERROR ] ====== ['features'] ======
Virtual Machine does not exist!
====== ['tags'] ======
[SKIP] Skipping due to previous failure!
[ERROR ] ====== ['present'] ======
====== stderr ======
/usr/bin/qvm-create whonix-ws-16-dvm --class=AppVM --template=whonix-ws-16 --label=red
app: Error creating VM: Got empty response from qubesd. See journalctl in dom0 for details.
====== ['prefs'] ======
Virtual Machine does not exist!
====== ['features'] ======
[SKIP] Skipping due to previous failure!
====== ['tags'] ======
[SKIP] Skipping due to previous failure!
local:
----------
ID: template-whonix-ws-16
Function: pkg.installed
Name: qubes-template-whonix-ws-16
Result: True
Comment: Package qubes-template-whonix-ws-16 is already installed
Started: 11:24:14.138294
Duration: 5796.629 ms
Changes:
----------
ID: whonix-ws-tag
Function: qvm.vm
Name: whonix-ws-16
Result: False
Comment: ====== ['features'] ======
Virtual Machine does not exist!
====== ['tags'] ======
[SKIP] Skipping due to previous failure!
Started: 11:24:19.979281
Duration: 271.503 ms
Changes:
----------
ID: whonix-ws-update-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.UpdatesProxy
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.UpdatesProxy is in correct state
Started: 11:24:20.261980
Duration: 14.769 ms
Changes:
----------
ID: whonix-get-date-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.GetDate
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.GetDate is in correct state
Started: 11:24:20.277092
Duration: 12.533 ms
Changes:
----------
ID: template-whonix-gw-16
Function: pkg.installed
Name: qubes-template-whonix-gw-16
Result: True
Comment: Package qubes-template-whonix-gw-16 is already installed
Started: 11:24:20.289981
Duration: 1.316 ms
Changes:
----------
ID: whonix-gw-tag
Function: qvm.vm
Name: whonix-gw-16
Result: True
Comment: ====== ['features'] ======
[SKIP] Feature already in desired state: ENABLE 'whonix-gw' = Enabled
====== ['tags'] ======
[SKIP] All requested tags already set: created-by-dom0,whonix-updatevm
Started: 11:24:20.291708
Duration: 4714.395 ms
Changes:
----------
ID: whonix-gw-update-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.UpdatesProxy
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.UpdatesProxy is in correct state
Started: 11:24:25.006518
Duration: 7.468 ms
Changes:
----------
ID: sys-net
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-net None
Started: 11:24:25.014322
Duration: 2048.565 ms
Changes:
----------
ID: sys-firewall
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-firewall None
Started: 11:24:27.065077
Duration: 1868.662 ms
Changes:
----------
ID: sys-whonix
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-whonix None
Started: 11:24:28.935733
Duration: 1744.59 ms
Changes:
----------
ID: whonix-ws-16-dvm
Function: qvm.vm
Result: False
Comment: ====== ['present'] ======
====== stderr ======
/usr/bin/qvm-create whonix-ws-16-dvm --class=AppVM --template=whonix-ws-16 --label=red
app: Error creating VM: Got empty response from qubesd. See journalctl in dom0 for details.
====== ['prefs'] ======
Virtual Machine does not exist!
====== ['features'] ======
[SKIP] Skipping due to previous failure!
====== ['tags'] ======
[SKIP] Skipping due to previous failure!
Started: 11:24:30.750482
Duration: 5255.361 ms
Changes:
----------
ID: qvm-appmenus --update whonix-ws-16-dvm
Function: cmd.run
Result: False
Comment: One or more requisite failed: qvm.whonix-ws-dvm.whonix-ws-16-dvm
Changes:
----------
ID: anon-whonix
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check anon-whonix None
Started: 11:24:36.008428
Duration: 1999.772 ms
Changes:
Summary for local
-------------
Succeeded: 10
Failed: 3
-------------
Total states run: 13
Total run time: 23.736 s
DOM0 configuration failed, not continuing