Bug 1946513

Summary: honor use specified system reserved with auto node sizing
Product: OpenShift Container Platform Reporter: Harshal Patil <harpatil>
Component: NodeAssignee: Harshal Patil <harpatil>
Node sub component: Kubelet QA Contact: Weinan Liu <weinliu>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: aos-bugs, nagrawal, weinliu
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:57:48 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 Harshal Patil 2021-04-06 10:07:17 UTC
Description of problem:

The current implementation of the auto node sizing is not overriding user specified values for system reserved. 

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


How reproducible:


Steps to Reproduce:
1. 
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
  name: single-node-reserve-sys-mem
spec:
  machineConfigPoolSelector:
    matchLabels:
      pools.operator.machineconfiguration.openshift.io/master: ""
  kubeletConfig: 
    systemReserved:
      memory: 3Gi



Actual results:
When the MCO has done rolling out that kubeletconfig, the nodes won't come up with 3Gi systemd reserved. 

Expected results:
Nodes should have come up with user specified system reserved. 



Additional info:

Comment 2 Weinan Liu 2021-04-15 05:24:05 UTC
Waiting for https://bugzilla.redhat.com/show_bug.cgi?id=1949387 got fixed

Comment 6 errata-xmlrpc 2021-07-27 22:57:48 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438