1. Proposed title of this feature request
Provide sos collect functionality with oc
2. What is the nature and description of the request?
sos collect is a tool that allows collecting sos reports from multiple nodes in the cluster. Now collecting sos report from every node requires at least 5 commands and a separate terminal. In some cases, e.g. for baremetal networking team we need to collect information from all cluster nodes, and doing that manually is impossible, therefore we need to create additional scripts to do so. Or to collect sos report for master nodes customers need to run ~ 15 commands, but the same can be dome with 1 command.
sos collect could be wrapped with a new oc command, that would use an image similar to must-gather, but with installed sos, and would allow us to use sos collect tool without the need to install it separately.
3. Why does the customer need this? (List the business requirements here)
We ask the customer regularly to gather large sets of sosreports and they find the current steps too tedious. Having the must-gather image optionally gather sosreports would simplify necessary steps for our customer.
4. List any affected packages or components.
https://github.com/openshift/oc
https://github.com/sosreport/sos
Note: this RFE is different from https://issues.redhat.com/browse/RFE-1810, because its purpose not to develop similar to sos collect functionality, but just wrap existing tool.
- relates to
-
RFE-4703 Add a "generate must-gather/sosreport" option in the OCP admin console UI so we can provide log/data details faster
- Backlog