Merge "guru meditation report for nova-compute in worlddump"

This commit is contained in:
Jenkins 2015-06-12 07:50:17 +00:00 committed by Gerrit Code Review
commit 7a6f0b6bff

View File

@ -106,6 +106,12 @@ def compute_consoles():
_dump_cmd("sudo cat %s" % fullpath) _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(): def main():
opts = get_options() opts = get_options()
fname = filename(opts.dir) fname = filename(opts.dir)
@ -118,6 +124,7 @@ def main():
network_dump() network_dump()
iptables_dump() iptables_dump()
compute_consoles() compute_consoles()
guru_meditation_report()
if __name__ == '__main__': if __name__ == '__main__':