diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2015-05-05 13:50:55 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-06-25 16:12:56 +0100 |
commit | 61a5b47d4fe4fd47e759b9acc19483491ec17005 (patch) | |
tree | 59b579b263199b6b4e28e91e421b15aedd1afd91 | |
parent | cf83b91da964f0a8a0281ee61bf134e48e53e59f (diff) | |
download | sos-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.py | 2 |
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 |