diff options
author | Paul Wayper <paulway@redhat.com> | 2021-04-23 14:07:25 +1000 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-26 11:02:23 -0400 |
commit | 652d11827fd26fd276b78ba0e77b6fcd9581d5b6 (patch) | |
tree | d9a63a5ebabaf9040e8946f31c7e1398f3306e59 | |
parent | f3f70abd4c95cd69ff019821d1cee5ddaab6cbb6 (diff) | |
download | sos-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.py | 5 |
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( |