Bug 1804432

Summary: openshift-controller-manager does not log termination messages
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: openshift-controller-managerAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: openshift-controller-manager did not fall back to logs on termination Consequence: no termination message appears in the controller-manager pod status if it fails for any reason Fix: updated the deployment of the openshift-controller-manager to fall back to logs for its termination message Result: the last lines of the controller-manager log appear as the termination message if the controller-manager pod fails
Story Points: ---
Clone Of:
: 1804762 (view as bug list) Environment:
Last Closed: 2020-08-04 18:00:55 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:
Bug Depends On:    
Bug Blocks: 1804762    

Description Adam Kaplan 2020-02-18 19:58:01 UTC
Description of problem:

On pod termination, the openshift-controller-manager logs are not used as the termination message.


Version-Release number of selected component (if applicable): 4.4.0


How reproducible: Sometimes


Additional info:

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/1484/pull-ci-openshift-machine-config-operator-master-e2e-gcp-upgrade/1098

Comment 3 wewang 2020-02-21 08:07:27 UTC
There's no vaild 4.5 nightly build payload until now, will wait for it.

Comment 4 wewang 2020-03-09 09:16:32 UTC
Now ds is include terminationMessagePolicy: FallbackToLogsOnError
version:
4.5.0-0.nightly-2020-03-06-190457

job: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/1541/pull-ci-openshift-machine-config-operator-master-e2e-gcp-upgrade/1322

Comment 6 errata-xmlrpc 2020-08-04 18:00:55 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.5 image release advisory), 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-2020:2409