Uploaded image for project: 'must-gather'
  1. must-gather
  2. MG-85

Add logs for gather process in the uploaded tar bundle itself

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Product / Portfolio Work
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • OAPE Sprint 276
    • 1

      proposed saving the pod logs within the must-gather itself, similar to CI debugging practices,

      https://docs.google.com/document/d/1PJC2fwVU641qfEXx9oM3g2ogpQxaYy1VM35loMe_dO0/edit?tab=t.u9mnrzqrnaef 

       

      Also, when using oc adm must-gather the logs for the gather process itself are stored in <gather-directory>/must-gather.logs (ref: https://github.com/openshift/oc/blob/a43428189603f12ae190703cb725f66f742fbe52/pkg/cli/admin/mustgather/mustgather.go#L568-L581)

       

      Acceptance criteria: the tar bundle containing the must-gather gathered snapshot should also collect the logs into the tar directory (/must-gather) itself, before uploading it to the support case.

      i.e. in the event of gather failures, we can get the logs directly in the uploaded/exported tar.

              swghosh@redhat.com Swarup Ghosh
              swghosh@redhat.com Swarup Ghosh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: