Skip to content
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

Don't try to take screenshot when VM does not have vga device #230

Closed
dustymabe opened this issue Dec 22, 2016 · 2 comments
Closed

Don't try to take screenshot when VM does not have vga device #230

dustymabe opened this issue Dec 22, 2016 · 2 comments

Comments

@dustymabe
Copy link

For arm when oz tries to take a screenshot of a failed install it fails because there is no vga console on arm and thus we get the error: libvirtError: internal error: unable to execute QEMU command 'screendump': There is no QemuConsole I can screendump from.

Should we attempt to detect if the libvirt xml has a vga device before attempting to grab the screenshot?

Here is the full log for a run where this happened:
https://kojipkgs.fedoraproject.org//work/tasks/2710/17022710/oz-armhfp.log

@clalancette
Copy link
Owner

Sorry I've taken so long to get to this. Life, you know ;).

Anyway, I see your point; if there is no valid screen setup, we should skip the dump and get the original stacktrace instead. I've just pushed a commit which should fix this problem; check it out and let me know if it does.

Thanks for the bug report!

@dustymabe
Copy link
Author

Sorry I've taken so long to get to this. Life, you know ;).

indeed! I know all too well!

Anyway, I see your point; if there is no valid screen setup, we should skip the dump and get the original stacktrace instead. I've just pushed a commit which should fix this problem; check it out and let me know if it does.

Thanks for the bug report!

No problem. Thank you! For everyone else following along, this should be fixed in 5eed862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants