Bug 2029693

Summary: patch pipeline--worker nodes unexpectedly reboot during scale out
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Node Tuning OperatorAssignee: Jiří Mencák <jmencak>
Status: CLOSED ERRATA QA Contact: liqcui
Severity: high Docs Contact:
Priority: high    
Version: 4.10CC: aos-bugs, asoto, dagray, jerzhang, liqcui, mkrejci, ndabhi, tsedovic
Target Milestone: ---   
Target Release: 4.9.z   
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: 2022-01-04 18:41:24 UTC Type: ---
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: 2029371    
Bug Blocks: 2030353    

Comment 1 Jiří Mencák 2021-12-07 04:53:48 UTC
Upstream fix for 4.9: https://github.com/openshift/cluster-node-tuning-operator/pull/294

Comment 3 Jiří Mencák 2021-12-08 19:21:03 UTC
A note to QE, this should be fixed in 4.9.0-0.nightly-2021-12-08-170138+.
Successfully tested on 4.9.0-0.nightly-2021-12-08-170138.

Comment 4 liqcui 2021-12-10 04:43:58 UTC
[ocpadmin@ec2-18-217-45-133 nto]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-12-09-104153   True        False         121m    Cluster version is 4.9.0-0.nightly-2021-12-09-104153
[ocpadmin@ec2-18-217-45-133 nto]$ oc label no $node1 ${nodeLabelRealtime}= --overwrite
error: at least one label update is required
[ocpadmin@ec2-18-217-45-133 nto]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-12-09-104153   True        False         121m    Cluster version is 4.9.0-0.nightly-2021-12-09-104153
$ node1=liqcui-az491210-lzhg6-worker-centralus1-kkl2k
$ node2=liqcui-az491210-lzhg6-worker-centralus2-skbv2
cd cluster-node-tuning-operator/test/e2e/reboots
$ profileRealtime="../testing_manifests/stalld.yaml"
$ mcpRealtime="../../../examples/realtime-mcp.yaml"
$ nodeLabelRealtime="node-role.kubernetes.io/worker-rt"
$ oc label no $node1 ${nodeLabelRealtime}= --overwrite
node/liqcui-az491210-lzhg6-worker-centralus1-kkl2k labeled
$ oc label no $node2 ${nodeLabelRealtime}= --overwrite
node/liqcui-az491210-lzhg6-worker-centralus2-skbv2 labeled
$oc create -f $profileRealtime
tuned.tuned.openshift.io/openshift-realtime created
$ oc create -f $mcpRealtime
machineconfigpool.machineconfiguration.openshift.io/worker-rt create

$oc scale machineset/liqcui-az491210-lzhg6-worker-centralus1 --replicas=2 -n openshift-machine-api
machineset.machine.openshift.io/liqcui-az491210-lzhg6-worker-centralus1 scaled

No old node rebooted, only new worker node that labeled rebooted

Comment 7 errata-xmlrpc 2022-01-04 18:41:24 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.9.12 bug fix 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/RHBA-2021:5214