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 upCannot start an AppVM when it already exists in Xen database #314
Comments
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 2 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by rafal on 29 Jul 2011 10:55 UTC
I cannot reproduce the problem - any additional hints ? anything suspicious in ~/.xsession-errors (e.g. previous errors from xl ?).
Insufficient memory condition does not result in this - qubes.py first tries to get memory, and if it fails, it does not call xl. And in the xl list output one can see that work-acct is quite alive and well - with the tiny issue that it is paused.
There are two possible explanations:
- xl create returned nonzero status, but in fact the domain was created
- xl create went ok, but before qubes.py called domain_unpause, it got an exception
Both look not likely enough to devise workarounds for them - we need repro scenario.
|
Comment by rafal on 29 Jul 2011 10:55 UTC
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 30 Jul 2011 09:20 UTC |
marmarek
added
P: minor
and removed
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 12 Sep 2011 07:51 UTC |
marmarek
added
P: major
and removed
P: minor
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 12 Sep 2011 14:37 UTC
To reproduce:
- Start a driver domain
- Shut it down: qvm-run --shutdown
- Immediately when VM disappears from the manager/qvm-ls, try to start it again (via qvm-start)
|
Comment by joanna on 12 Sep 2011 14:37 UTC
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by marmarek on 13 Sep 2011 16:41 UTC |
marmarek
assigned
marmarek
and unassigned
rootkovska
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 13 Sep 2011 17:13 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=0ce7336cadc29f8cdcfbd8637d86b412da58860b
|
Comment by marmarek on 13 Sep 2011 17:13 UTC |
marmarek commentedMar 8, 2015
Reported by joanna on 28 Jul 2011 18:58 UTC
...which can happen when one tries to start a domain but fails for some reason (e.g. no memory). Later, when attempting to start it again (even if the original problem was resolved, e.g. some memory freed), Qubes fails to start it becuse it exists in Xen DB (as reported by xl list):
Migrated-From: https://wiki.qubes-os.org/ticket/314