Bug 1774369 - kubeletconfig's description will show duplicate lines for finalizers and status
Summary: kubeletconfig's description will show duplicate lines for finalizers and status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.3.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.3.0
Assignee: Ryan Phillips
QA Contact: MinLi
URL:
Whiteboard:
Depends On:
Blocks: 1782973
TreeView+ depends on / blocked
 
Reported: 2019-11-20 07:15 UTC by MinLi
Modified: 2020-01-23 11:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1782973 (view as bug list)
Environment:
Last Closed: 2020-01-23 11:13:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 1278 0 'None' closed Bug 1774369: skip setting the kubeletconfig finalizer if it is set 2020-06-22 03:36:01 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:13:36 UTC

Description MinLi 2019-11-20 07:15:35 UTC
Description of problem:
when check kubeletconfig's description, it shows duplicate lines for finalizers

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-18-062034

How reproducible:
always

Steps to Reproduce:
1.$ oc label mcp worker custom-kubelet=max-pods
2.$ oc create -f custom-kubelet-maxpods.yaml
yaml file is like:
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
  name: custom-kubelet
spec:
  machineConfigPoolSelector:
    matchLabels:
      custom-kubelet: max-pods
  kubeletConfig:
    maxPods: 220

3.$ oc get kubeletconfig  custom-kubelet -o yaml
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
  creationTimestamp: "2019-11-19T08:02:07Z"
  finalizers:
  - 99-worker-935d0eac-d152-4f2a-a754-7f8086c591a1-kubelet
  - 99-worker-935d0eac-d152-4f2a-a754-7f8086c591a1-kubelet
  - 99-worker-935d0eac-d152-4f2a-a754-7f8086c591a1-kubelet
  - 99-worker-935d0eac-d152-4f2a-a754-7f8086c591a1-kubelet
  - 99-worker-935d0eac-d152-4f2a-a754-7f8086c591a1-kubelet
  generation: 1
  name: custom-kubelet
  resourceVersion: "127181"
  selfLink: /apis/machineconfiguration.openshift.io/v1/kubeletconfigs/custom-kubelet
  uid: a8fbbcbd-3d88-46be-a9bd-0b2965725865
spec:
  kubeletConfig:
    maxPods: 220
  machineConfigPoolSelector:
    matchLabels:
      custom-kubelet: max-pods
status:
  conditions:
  - lastTransitionTime: "2019-11-19T08:02:07Z"
    message: Success
    status: "True"
    type: Success
  - lastTransitionTime: "2019-11-19T08:04:58Z"
    message: Success
    status: "True"
    type: Success
  - lastTransitionTime: "2019-11-19T08:25:59Z"
    message: Success
    status: "True"
    type: Success
  - lastTransitionTime: "2019-11-19T08:28:06Z"
    message: Success
    status: "True"
    type: Success
  - lastTransitionTime: "2019-11-19T08:32:36Z"
    message: Success
    status: "True"
    type: Success

Actual results:
3.show duplicate lines for finalizers and status

Expected results:
3.not show  duplicate lines 

Additional info:

Comment 2 MinLi 2019-12-06 09:17:43 UTC
verified! 
version : 4.3.0-0.nightly-2019-12-05-001549

Comment 3 MinLi 2019-12-11 06:43:35 UTC
I think this bug has not been fixed.
When I created a kubeletconfig and waited long enough (e.g. several hours and the cluster may go through upgrade or temporary unavailability ), this bug would reproduce. 

version: 4.3.0-0.nightly-2019-12-09-005356

Comment 4 Ryan Phillips 2019-12-12 17:47:27 UTC
You will need to test against 4.4 or master, and then we will need to backport this to 4.3.

Comment 6 MinLi 2019-12-16 07:21:17 UTC
This bug didn't reproduce after observing for more than 48 hours. 
verified! 

version : 4.4.0-0.nightly-2019-12-13-005728

Comment 8 errata-xmlrpc 2020-01-23 11:13:20 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-2020:0062


Note You need to log in before you can comment on or make changes to this bug.