aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-04-09 09:50:34 +0200
committerBryn M. Reeves <bmr@redhat.com>2019-04-30 16:31:45 +0100
commit7c8c45dad3481cfaae3d3af9c188218aa14a3a6a (patch)
tree1999ff654a7abfb8bb31bf0b2b926f38f8d90719
parentc71b41547442d23daf5c3bf88450151d13903214 (diff)
downloadsos-7c8c45dad3481cfaae3d3af9c188218aa14a3a6a.tar.gz
[foreman,satellite] increase plugin default timeouts
Those two plugins call commands with bigger timeouts than the default plugin timeout is. That can unexpectedly kill the plugin execution when the commands execution took longer than the plugin timeout (but within cmd timeout). Resolves: #1642 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/foreman.py1
-rw-r--r--sos/plugins/satellite.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
index a1e937f3..8bcd26bd 100644
--- a/sos/plugins/foreman.py
+++ b/sos/plugins/foreman.py
@@ -19,6 +19,7 @@ class Foreman(Plugin):
"""
plugin_name = 'foreman'
+ plugin_timeout = 1800
profiles = ('sysmgmt',)
packages = ('foreman', 'foreman-proxy')
option_list = [
diff --git a/sos/plugins/satellite.py b/sos/plugins/satellite.py
index c50c2ec7..83733076 100644
--- a/sos/plugins/satellite.py
+++ b/sos/plugins/satellite.py
@@ -14,6 +14,7 @@ class Satellite(Plugin, RedHatPlugin):
"""
plugin_name = 'satellite'
+ plugin_timeout = 1200
profiles = ('sysmgmt',)
verify_packages = ('spacewalk.*',)
satellite = False