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

Bug 1747432

Summary: missing terminationMessagePolicy: FallbackToLogsOnError in MCO containers
Product: OpenShift Container Platform Reporter: Antonio Murdaca <amurdaca>
Component: Machine Config OperatorAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED ERRATA QA Contact: Micah Abbott <miabbott>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: mnguyen
Target Milestone: ---   
Target Release: 4.2.0   
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: 2019-10-16 06:39:13 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 Antonio Murdaca 2019-08-30 12:34:41 UTC
Description of problem:

not all the MCO containers are setting terminationMessagePolicy: FallbackToLogsOnError. That's required in 4.2 for Insight (see https://github.com/openshift/machine-config-operator/pull/1093#issue-312573618)


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

4.2


How reproducible:

always


Steps to Reproduce:
1. just missing from oc describe <pod>
2.
3.

Actual results:

no terminationMessagePolicy: FallbackToLogsOnError

Expected results:

terminationMessagePolicy: FallbackToLogsOnError in MCO containers from pods

Additional info:

Comment 2 Michael Nguyen 2019-09-04 15:58:26 UTC
Verified on 4.2.0-0.ci-2019-09-04-105733

$ oc get -n openshift-machine-config-operator pods/machine-config-daemon-frmlm -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 600
$ oc get -n openshift-machine-config-operator pods/machine-config-daemon-jfm78 -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 600
$ oc get -n openshift-machine-config-operator pods/machine-config-daemon-p8p4m -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 600
$ oc get -n openshift-machine-config-operator pods/machine-config-daemon-rzsqj -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 600
$ oc get -n openshift-machine-config-operator pods/machine-config-daemon-vfvsd -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 600
$ oc get -n openshift-machine-config-operator pods/machine-config-operator-669d578c9f-jx4gw -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 30
$ oc get -n openshift-machine-config-operator pods/machine-config-server-c9qnh -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 30
$ oc get -n openshift-machine-config-operator pods/machine-config-server-cgshd -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 30
$ oc get -n openshift-machine-config-operator pods/machine-config-server-xh494 -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 30
$ oc get -n openshift-machine-config-operator pods/machine-config-controller-75bfcbb74d-6jhc5 -o yaml | grep termination
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
  terminationGracePeriodSeconds: 30

Comment 3 errata-xmlrpc 2019-10-16 06:39:13 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, 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-2019:2922