Blame SOURCES/sos-bz1214209-hpasm-no-data-timeout.patch
|
|
86e75a |
From 61a5b47d4fe4fd47e759b9acc19483491ec17005 Mon Sep 17 00:00:00 2001
|
|
|
86e75a |
From: Pavel Moravec <pmoravec@redhat.com>
|
|
|
86e75a |
Date: Tue, 5 May 2015 13:50:55 +0200
|
|
|
86e75a |
Subject: [PATCH] [hpasm] hpasmcli commands hang under timeout
|
|
|
86e75a |
|
|
|
86e75a |
When hpasmcli is run in a python Popen or system pipeline via the
|
|
|
86e75a |
timeout command it hangs indefinitely.
|
|
|
86e75a |
|
|
|
86e75a |
Work around this temporarily by disabling the use of the timeout
|
|
|
86e75a |
program (by passing a zero timeout value) when running this
|
|
|
86e75a |
command.
|
|
|
86e75a |
|
|
|
86e75a |
Fixes: #559
|
|
|
86e75a |
|
|
|
86e75a |
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
86e75a |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
86e75a |
---
|
|
|
86e75a |
sos/plugins/hpasm.py | 2 +-
|
|
|
86e75a |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
86e75a |
|
|
|
86e75a |
diff --git a/sos/plugins/hpasm.py b/sos/plugins/hpasm.py
|
|
|
86e75a |
index 4d5d158..4d70887 100644
|
|
|
86e75a |
--- a/sos/plugins/hpasm.py
|
|
|
86e75a |
+++ b/sos/plugins/hpasm.py
|
|
|
86e75a |
@@ -30,6 +30,6 @@ class Hpasm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
|
|
|
86e75a |
self.add_cmd_output([
|
|
|
86e75a |
"hpasmcli -s 'show asr'",
|
|
|
86e75a |
"hpasmcli -s 'show server'"
|
|
|
86e75a |
- ])
|
|
|
86e75a |
+ ], timeout=0)
|
|
|
86e75a |
|
|
|
86e75a |
# vim: et ts=4 sw=4
|
|
|
86e75a |
--
|
|
|
86e75a |
1.8.3.1
|
|
|
86e75a |
|