Bug 1849538

Summary: duplicate error message can not be compressed for kubeletconfig
Product: OpenShift Container Platform Reporter: MinLi <minmli>
Component: NodeAssignee: Ryan Phillips <rphillips>
Node sub component: Kubelet QA Contact: Sunil Choudhary <schoudha>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: alukiano, aos-bugs, jokerman, qiwan, sjenning
Version: 4.4   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:08:40 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:
Bug Depends On:    
Bug Blocks: 1849817    

Description MinLi 2020-06-22 07:33:05 UTC
Description of problem:
duplicate error message can not be compressed for kubeletconfig

Version-Release number of selected component (if applicable):
$ oc get clusterversion 
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-06-19-024326   True        False         110m    Cluster version is 4.5.0-0.nightly-2020-06-19-024326


How reproducible:
always

Steps to Reproduce:
1.create a kubeletconfig without matching-label mcp
2.$ oc get kubeletconfig -o yaml
3.

Actual results:
2.$ oc get kubeletconfig -o yaml 
apiVersion: v1
items:
- apiVersion: machineconfiguration.openshift.io/v1
  kind: KubeletConfig
  metadata:
    creationTimestamp: "2020-06-19T06:34:59Z"
    finalizers:
    - 05ebf7c4-63a1-4255-a465-ceca43ae344c
    generation: 1
    managedFields:
...
    name: custom-kubelet-performance
    resourceVersion: "48910"
    selfLink: /apis/machineconfiguration.openshift.io/v1/kubeletconfigs/custom-kubelet-performance
    uid: 2dbf1821-1f4a-40c2-a8aa-6e26ce7aa9b8
  spec:
    kubeletConfig:
      maxPods: 220
    machineConfigPoolSelector:
      matchLabels:
        custom-kubelet: max-pods
  status:
    conditions:
    - lastTransitionTime: "2020-06-19T06:34:59Z"
      message: 'Error: could not find any MachineConfigPool set for KubeletConfig'
      status: "False"
      type: Failure
    - lastTransitionTime: "2020-06-19T06:34:59Z"
      message: 'Error: could not find any MachineConfigPool set for KubeletConfig'
      status: "False"
      type: Failure
    - lastTransitionTime: "2020-06-19T06:34:59Z"
      message: 'Error: could not find any MachineConfigPool set for KubeletConfig'
      status: "False"
      type: Failure
    - lastTransitionTime: "2020-06-19T06:34:59Z"
      message: 'Error: could not find any MachineConfigPool set for KubeletConfig'
      status: "False"
      type: Failure
    - lastTransitionTime: "2020-06-19T06:34:59Z"
      message: 'Error: could not find any MachineConfigPool set for KubeletConfig'
      status: "False"
      type: Failure



Expected results:
2.duplicate error message should be compressed

Additional info:

Comment 3 MinLi 2020-06-24 03:33:18 UTC
verified with version : 4.6.0-0.nightly-2020-06-23-220540

Comment 5 errata-xmlrpc 2020-10-27 16:08:40 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.6 GA Images), 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:4196

Comment 6 Qi Wang 2021-01-13 20:11:22 UTC
*** Bug 1904133 has been marked as a duplicate of this bug. ***