New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM restart after update throws dom0 error #2438

Closed
saucemcboss opened this Issue Nov 16, 2016 · 6 comments

Comments

2 participants
@saucemcboss

saucemcboss commented Nov 16, 2016

Qubes OS version (e.g., R3.1):

R3.2 on a Thinkpad X201 Tablet

Affected TemplateVMs (e.g., fedora-23, if applicable):

Dom0 -- Qubes Manager


Expected behavior:

Updating and restarting a VM should not throw an error

Actual behavior:

Restarting after installing software gives "Dom0 Houston, we have a problem"

----
line: assert not vm.is_running()
func: start_vm
line no.: 1158
file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py
----
line: self.caller.start_vm(vm)
func: check_if_vm_has_shutdown
line no.: 288
file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py

Steps to reproduce the behavior:

I've gotten this a couple times, and I'm not yet able to find a pattern. It seems like it's after I update software within the VM template. Once I finish restarting the app VM, it throws this error.

General notes:

It may also be worth noting that I'm having a few issues with random & incomplete shutdowns. Once I see a broader pattern I'll report that in another issue, but I felt it may be worth mentioning.

It was quite difficult to report this issue -- there was no way to easily copy the text from the dom0 error pane into my personal VM. A more streamlined process would likely lead to better error reporting.

I'm not entirely sure if this is the right place to report this error. After hunting around, I assume that this is the right place, but as I found in #2432, the email group may be better. It may be worth considering clarifying where issues should go from the dom0 error window itself.

err.txt

screenshot_2016-11-16_10-45-02

screenshot_2016-11-16_10-45-25


Related issues:

@saucemcboss

This comment has been minimized.

Show comment
Hide comment
@saucemcboss

saucemcboss Nov 16, 2016

It may also be worth noting that my template VM was still running when I restarted the app VM. I realize now that this wouldn't update the software in the template, but I didn't remember that at the time.

It may also be worth noting that my template VM was still running when I restarted the app VM. I realize now that this wouldn't update the software in the template, but I didn't remember that at the time.

@saucemcboss

This comment has been minimized.

Show comment
Hide comment
@saucemcboss

saucemcboss Nov 16, 2016

I posted a note to the form about my shutdown issues here: https://groups.google.com/forum/#!topic/qubes-users/OGWbC6AUnFU

I posted a note to the form about my shutdown issues here: https://groups.google.com/forum/#!topic/qubes-users/OGWbC6AUnFU

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 19, 2016

Member

It was quite difficult to report this issue -- there was no way to easily copy the text from the dom0 error pane into my personal VM. A more streamlined process would likely lead to better error reporting.

There are a few different options for copying and pasting text from dom0, depending on the purpose.
But perhaps all error panes should have an easy button to copy the text to the inter-VM clipboard. What do you think, @marmarek?

I'm not entirely sure if this is the right place to report this error. After hunting around, I assume that this is the right place, but as I found in #2432, the email group may be better. It may be worth considering clarifying where issues should go from the dom0 error window itself.

This seems like the right place. GitHub should present you with a link to view the contribution guidelines each time you open an issue. Error windows in dom0 can appear for many different reasons, and I doubt the system can be programmed to accurately determine what kind of issue it is according to our guidelines. (That would probably require strong AI.) For the most part, though, error messages in dom0 should probably be reported here.

Member

andrewdavidwong commented Nov 19, 2016

It was quite difficult to report this issue -- there was no way to easily copy the text from the dom0 error pane into my personal VM. A more streamlined process would likely lead to better error reporting.

There are a few different options for copying and pasting text from dom0, depending on the purpose.
But perhaps all error panes should have an easy button to copy the text to the inter-VM clipboard. What do you think, @marmarek?

I'm not entirely sure if this is the right place to report this error. After hunting around, I assume that this is the right place, but as I found in #2432, the email group may be better. It may be worth considering clarifying where issues should go from the dom0 error window itself.

This seems like the right place. GitHub should present you with a link to view the contribution guidelines each time you open an issue. Error windows in dom0 can appear for many different reasons, and I doubt the system can be programmed to accurately determine what kind of issue it is according to our guidelines. (That would probably require strong AI.) For the most part, though, error messages in dom0 should probably be reported here.

@saucemcboss

This comment has been minimized.

Show comment
Hide comment
@saucemcboss

saucemcboss Nov 19, 2016

Perfect - thanks for the info. Streamlining (or automating) the bug reporting process as much as possible should help collect more bugs. Copying to the Inter-VM clipboard would be a good start. I'd also suggest having some simple text on what to do with the error like "Please report this to the Qubes team either by email at <email?>, or on Github at ." I imagine the email lists would be an easy way to report for those not on Github.

Perfect - thanks for the info. Streamlining (or automating) the bug reporting process as much as possible should help collect more bugs. Copying to the Inter-VM clipboard would be a good start. I'd also suggest having some simple text on what to do with the error like "Please report this to the Qubes team either by email at <email?>, or on Github at ." I imagine the email lists would be an easy way to report for those not on Github.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 19, 2016

Member

I'd also suggest having some simple text on what to do with the error like "Please report this to the Qubes team either by email at , or on Github at ." I imagine the email lists would be an easy way to report for those not on Github.

That text is here: https://www.qubes-os.org/doc/reporting-bugs/

This is the link we will provide.

Member

andrewdavidwong commented Nov 19, 2016

I'd also suggest having some simple text on what to do with the error like "Please report this to the Qubes team either by email at , or on Github at ." I imagine the email lists would be an easy way to report for those not on Github.

That text is here: https://www.qubes-os.org/doc/reporting-bugs/

This is the link we will provide.

@saucemcboss

This comment has been minimized.

Show comment
Hide comment
@saucemcboss

saucemcboss Nov 21, 2016

Sounds good - any direction in the error message on where / how to report would be helpful.

Sounds good - any direction in the error message on where / how to report would be helpful.

jpouellet added a commit to jpouellet/qubes-manager that referenced this issue Nov 27, 2016

Implement "Copy Dom0 clipboard" tray menu item
Ctrl+Shift+C would be preferable, but is quite difficult to do safely,
and this method seems like a reasonable security/UX compromise.

Discussed in:
- https://groups.google.com/forum/#!topic/qubes-devel/4_x7Su21i9o
- QubesOS/qubes-issues#2438 (comment)

Fixes QubesOS/qubes-issues#2450

@jpouellet jpouellet referenced this issue in QubesOS/qubes-manager Nov 27, 2016

Merged

Implement "Copy Dom0 clipboard" tray menu item #15

jpouellet added a commit to jpouellet/qubes-manager that referenced this issue Nov 27, 2016

Implement "Copy Dom0 clipboard" tray menu item
Ctrl+Shift+C would be preferable, but is quite difficult to do safely,
and this method seems like a reasonable security/UX compromise.

Discussed in:
- https://groups.google.com/forum/#!topic/qubes-devel/4_x7Su21i9o
- QubesOS/qubes-issues#2438 (comment)

Fixes QubesOS/qubes-issues#2450

jpouellet added a commit to jpouellet/qubes-manager that referenced this issue Nov 27, 2016

Implement "Copy Dom0 clipboard" tray menu item
Ctrl+Shift+C would be preferable, but is quite difficult to do safely,
and this method seems like a reasonable security/UX compromise.

Discussed in:
- https://groups.google.com/forum/#!topic/qubes-devel/4_x7Su21i9o
- QubesOS/qubes-issues#2438 (comment)

Fixes QubesOS/qubes-issues#2450

@m-v-b m-v-b referenced this issue in QubesOS/qubes-manager May 13, 2017

Merged

Do not abort VM restarts due to inconsistent info #32

@marmarek marmarek closed this May 14, 2017

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status May 31, 2017

Closed

manager v3.2.12 (r3.2) #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment