guru meditation report for nova-compute in worlddump

Nova-compute is hanging in the multinode test, and its difficult to
figure out why. So trigger a guru meditation report for nova-compute in
worlddump so we can see what nova-compute is doing when it is hung.

Having a hung nova-compute causes tempest to fail and
I035fe8e3333034e44b403ed0f986220ab5b0e57a runs worlddump whenever
tempest fails.

Bug 1462305 is one of the last issues left before the multinode job is
stable enough to gate on, and this patch should make it much easier to
debug.

Change-Id: I87d7536b5992c47b8082684cc662f953113fd1a8
Related-Bug: #1462305
This commit is contained in:
Joe Gordon 2015-06-07 16:57:34 +09:00
parent 21b7e975fa
commit 2ebe993b25

View File

@ -106,6 +106,12 @@ def compute_consoles():
_dump_cmd("sudo cat %s" % fullpath)
def guru_meditation_report():
_header("nova-compute Guru Meditation Report")
_dump_cmd("kill -s USR1 `pgrep nova-compute`")
print "guru meditation report in nova-compute log"
def main():
opts = get_options()
fname = filename(opts.dir)
@ -118,6 +124,7 @@ def main():
network_dump()
iptables_dump()
compute_consoles()
guru_meditation_report()
if __name__ == '__main__':