Bug 2100304

Summary: Collect whole journal in gather
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: aos-install
Installer sub component: openshift-installer QA Contact: jima
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium    
Version: 4.11   
Target Milestone: ---   
Target Release: 4.8.z   
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: 2022-07-06 14:14:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2099741    
Bug Blocks:    

Comment 1 jima 2022-06-27 03:46:48 UTC
build the image with the PR openshift/installer#6040 from cluster-bot, registry.build05.ci.openshift.org/ci-ln-ibxjbwk/release:latest and verified passed.

when installer is at the stage of waiting for bootstrap complete, interrupt the installer process by "ctrl+c", then collecting bootstrap gather log, the whole journal log and netstat results are both collected.

$ ./openshift-install gather bootstrap --dir ipi/
INFO Pulling debug logs from the bootstrap machine 
INFO Bootstrap gather logs captured here "/home/jima/temp/ci-ln-ibxjbwk/ipi/log-bundle-20220627033738.tar.gz" 

$ tar -xvf log-bundle-20220627033738.tar.gz 
log-bundle-20220627033738/
...

$ ls -ltr ipi/log-bundle-20220627033738/bootstrap/journals/journal.log.gz 
-rw-rw-r--. 1 jima jima 73559 Jun 27 03:37 ipi/log-bundle-20220627033738/bootstrap/journals/journal.log.gz

$ ls -ltr ipi/log-bundle-20220627033738/bootstrap/network/netstat.txt 
-rw-rw-r--. 1 jima jima 71537 Jun 27 03:37 ipi/log-bundle-20220627033738/bootstrap/network/netstat.txt

Comment 6 errata-xmlrpc 2022-07-06 14:14:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.8.46 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:5424