-
-
Notifications
You must be signed in to change notification settings - Fork 53
Labels
C: coreThis issue pertains to a Qubes core component.This issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.diagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.
Description
Qubes OS release
4.3
Brief summary
Qube fails to start when machine is forcefully restarted while a preloaded Qube is running/paused.
Steps to reproduce
- Make sure a Qube is preloaded. Preloading only happens when at least one dispvm was created for a template:
[user@dom0 ~]$ qvm-run --dispvm default-dvm true
Running 'true' on $dispvm:default-dvm
- Check that preloaded Qube is registered:
[user@dom0 ~]$ qvm-features default-dvm preload-dispvm
disp2639
-
"Force an unexpected reboot"
-
Try to start Qube:
[user@dom0 ~]$ qvm-run --dispvm default-dvm true
Running 'true' on $dispvm:default-dvm
$dispvm:default-dvm: Got empty response from qubesd. See journalctl in dom0 for details.
Logs:
Oct 15 08:01:56 dom0 qubesd[2677]: ERROR: unhandled exception while calling src=b'dom0' meth=b'admin.vm.CreateDisposable' dest=b'default-dv>
Oct 15 08:01:56 dom0 qubesd[2677]: Traceback (most recent call last):
Oct 15 08:01:56 dom0 qubesd[2677]: File "/usr/lib/python3.13/site-packages/qubes/api/__init__.py", line 339, in respond
Oct 15 08:01:56 dom0 qubesd[2677]: response = await self.mgmt.execute(
Oct 15 08:01:56 dom0 qubesd[2677]: ^^^^^^^^^^^^^^^^^^^^^^^^
Oct 15 08:01:56 dom0 qubesd[2677]: untrusted_payload=untrusted_payload
Oct 15 08:01:56 dom0 qubesd[2677]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 15 08:01:56 dom0 qubesd[2677]: )
Oct 15 08:01:56 dom0 qubesd[2677]: ^
Oct 15 08:01:56 dom0 qubesd[2677]: File "/usr/lib/python3.13/site-packages/qubes/api/admin.py", line 1333, in create_disposable
Oct 15 08:01:56 dom0 qubesd[2677]: dispvm = await qubes.vm.dispvm.DispVM.from_appvm(appvm)
Oct 15 08:01:56 dom0 qubesd[2677]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 15 08:01:56 dom0 qubesd[2677]: File "/usr/lib/python3.13/site-packages/qubes/vm/dispvm.py", line 505, in from_appvm
Oct 15 08:01:56 dom0 qubesd[2677]: qube = app.domains[item]
Oct 15 08:01:56 dom0 qubesd[2677]: ~~~~~~~~~~~^^^^^^
Oct 15 08:01:56 dom0 qubesd[2677]: File "/usr/lib/python3.13/site-packages/qubes/app.py", line 546, in __getitem__
Oct 15 08:01:56 dom0 qubesd[2677]: raise KeyError(key)
Oct 15 08:01:56 dom0 qubesd[2677]: KeyError: 'disp2639'
Workaround
Temporarily disable preloading:
[user@dom0 ~]$ qvm-features dom0 preload-dispvm-max
1
[user@dom0 ~]$ qvm-features dom0 preload-dispvm-max 0
[user@dom0 ~]$ qvm-features dom0 preload-dispvm-max 1
Metadata
Metadata
Assignees
Labels
C: coreThis issue pertains to a Qubes core component.This issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.diagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.
Type
Projects
Status
No status