Comment 10 for bug 1630578

Revision history for this message
Iain Lane (laney) wrote :

Attaching the following patch

commit 7f37957794d3b65e8d2e236d6af7dafcb2dc79e9
Author: Iain Lane <email address hidden>
Date: Fri Feb 24 12:41:32 2017 +0000

    Add a debug-fail hook and implement it for autopkgtest-virt-ssh

    At the minute, this is mainly so that the nova script can have its
    failure information (`nova console-log') propagated up to the output, so
    that in the case of kernel panics or other random failures we get useful
    output that the driver of autopkgtest (e.g. autopkgtest-cloud) can look
    at.

    https://bugs.launchpad.net/auto-package-testing/+bug/1630578

with this we should get console output after timeout. It's not as good as just receiving the console immediately would be, but nova doesn't provide for that and it's not common/serious enough to poll for IMHO.

Please review!