aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wayper <paulway@redhat.com>2021-04-23 14:07:25 +1000
committerJake Hunsaker <jhunsake@redhat.com>2021-04-26 11:02:23 -0400
commit652d11827fd26fd276b78ba0e77b6fcd9581d5b6 (patch)
treed9a63a5ebabaf9040e8946f31c7e1398f3306e59
parentf3f70abd4c95cd69ff019821d1cee5ddaab6cbb6 (diff)
downloadsos-652d11827fd26fd276b78ba0e77b6fcd9581d5b6.tar.gz
[insights] Removeinsights-client command as it's superfluous
The insights-client command should not be run within sosreport, as it collects data sosreport already collects and is not cautious about how it does so. Running it is therefore superfluous. Closes: #2508 Resolves: #2509 Signed-off-by: Paul Wayper <paulway@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/insights.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/sos/report/plugins/insights.py b/sos/report/plugins/insights.py
index ee26a910..50aa007c 100644
--- a/sos/report/plugins/insights.py
+++ b/sos/report/plugins/insights.py
@@ -32,11 +32,6 @@ class RedHatInsights(Plugin, RedHatPlugin):
else:
self.add_copy_spec("/var/log/insights-client/insights-client.log")
- # Collect insights-client report data into given dump dir
- path = self.get_cmd_output_path(name="insights-client-dump")
- self.add_cmd_output("insights-client --offline --output-dir %s" % path,
- suggest_filename="insights-client-dump.log")
-
def postproc(self):
for conf in self.config:
self.do_file_sub(