Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1798753

Summary: must-gather: Skipping container data collection for pod "...": Pod not running
Product: OpenShift Container Platform Reporter: W. Trevor King <wking>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED DUPLICATE QA Contact: zhou ying <yinzhou>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.zCC: aos-bugs, jokerman, mfojtik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-05 22:04:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Trevor King 2020-02-05 21:57:25 UTC
must-gather can fail to collect pod logs with [1]:

  Skipping container data collection for pod "...": Pod not running

despite logs from the failed pod not being included under lastState [2].  I don't know if that's a Kubernetes bug and lastState should have had the logs, or a must-gather bug and we shouldn't be skipping Pod not running pods, but one way or the other it would be nice if must-gather included those logs.

I'm also not sure what the Bugzilla component must-gather belongs under.  Guessing 'oc', but redirect as needed.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1787653#c6
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1787653#c0

Comment 1 W. Trevor King 2020-02-05 22:04:24 UTC
Ah, grepping around for 'Skipping container data', turns out this is a dup of bug 1792330, and has been fixed via [1].  Being backported to 4.3 with bug 1792334, but maybe not to 4.2-.

[1]: https://github.com/openshift/oc/pull/262/files#diff-0aff02e9f3b5dbd062e27b02d0b6eef8L21

*** This bug has been marked as a duplicate of bug 1792330 ***