Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-3153

Ease sosreport collection via oc CLI

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • oc
    • False
    • None
    • False
    • Not Selected

      1. Proposed title of this feature request

      Ease sosreport collection via oc CLI

       

      2. What is the nature and description of the request?

      Provide sos collect functionality with oc:

      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. It could use an image similar to must-gather, but with installed sos (that would allow us to use sos collect tool without the need to install it separately), or check if sos is already installed in current machine and use it.
      It should use, at least, the following params for the sosreport: "-e openshift -k crio.all=on -k crio.logs=on -k podman.all=on -k podman.logs=on --all-logs".

       

      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, or adding new functionality in oc wrapping the sos collect would simplify necessary steps for our customers.

       

      4. List any affected packages or components.

      https://github.com/openshift/oc
      https://github.com/sosreport/sos

       

      Note: this RFE is different from RFE-1810, because its purpose not to develop similar to sos collect functionality, but just wrap existing tool.

              gausingh@redhat.com Gaurav Singh
              npinaeva@redhat.com Nadia Pinaeva
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: