| ... | ... |
@@ -106,6 +106,12 @@ def compute_consoles(): |
| 106 | 106 |
_dump_cmd("sudo cat %s" % fullpath)
|
| 107 | 107 |
|
| 108 | 108 |
|
| 109 |
+def guru_meditation_report(): |
|
| 110 |
+ _header("nova-compute Guru Meditation Report")
|
|
| 111 |
+ _dump_cmd("kill -s USR1 `pgrep nova-compute`")
|
|
| 112 |
+ print "guru meditation report in nova-compute log" |
|
| 113 |
+ |
|
| 114 |
+ |
|
| 109 | 115 |
def main(): |
| 110 | 116 |
opts = get_options() |
| 111 | 117 |
fname = filename(opts.dir) |
| ... | ... |
@@ -118,6 +124,7 @@ def main(): |
| 118 | 118 |
network_dump() |
| 119 | 119 |
iptables_dump() |
| 120 | 120 |
compute_consoles() |
| 121 |
+ guru_meditation_report() |
|
| 121 | 122 |
|
| 122 | 123 |
|
| 123 | 124 |
if __name__ == '__main__': |