aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-05-05 13:50:55 +0200
committerBryn M. Reeves <bmr@redhat.com>2015-06-25 16:12:56 +0100
commit61a5b47d4fe4fd47e759b9acc19483491ec17005 (patch)
tree59b579b263199b6b4e28e91e421b15aedd1afd91
parentcf83b91da964f0a8a0281ee61bf134e48e53e59f (diff)
downloadsos-61a5b47d4fe4fd47e759b9acc19483491ec17005.tar.gz
[hpasm] hpasmcli commands hang under timeout
When hpasmcli is run in a python Popen or system pipeline via the timeout command it hangs indefinitely. Work around this temporarily by disabling the use of the timeout program (by passing a zero timeout value) when running this command. Fixes: #559 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/hpasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/hpasm.py b/sos/plugins/hpasm.py
index 4d5d158f..4d70887e 100644
--- a/sos/plugins/hpasm.py
+++ b/sos/plugins/hpasm.py
@@ -30,6 +30,6 @@ class Hpasm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output([
"hpasmcli -s 'show asr'",
"hpasmcli -s 'show server'"
- ])
+ ], timeout=0)
# vim: et ts=4 sw=4