Bug 2004508
| Summary: | TuneD issues with the recent ConfigParser changes. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jiří Mencák <jmencak> |
| Component: | Node Tuning Operator | Assignee: | Jiří Mencák <jmencak> |
| Status: | CLOSED ERRATA | QA Contact: | Simon <skordas> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.9 | CC: | aos-bugs, dagray |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-10 16:10:42 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: | 2004712 | ||
|
Description
Jiří Mencák
2021-09-15 13:18:44 UTC
$ oc project openshift-cluster-node-tuning-operator Now using project "openshift-cluster-node-tuning-operator" on server "https://api.skordas916a.qe.devcluster.openshift.com:6443". $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.10.0-0.nightly-2021-09-16-064101 True False 92m Cluster version is 4.10.0-0.nightly-2021-09-16-064101 $ oc get nodes NAME STATUS ROLES AGE VERSION ip-10-0-132-241.us-east-2.compute.internal Ready master 107m v1.22.0-rc.0+75ee307 ip-10-0-156-73.us-east-2.compute.internal Ready worker 101m v1.22.0-rc.0+75ee307 ip-10-0-173-184.us-east-2.compute.internal Ready master 108m v1.22.0-rc.0+75ee307 ip-10-0-194-68.us-east-2.compute.internal Ready master 108m v1.22.0-rc.0+75ee307 $ oc get pods -o wide| grep ip-10-0-156-73.us-east-2.compute.internal # get tuned pod on worker node tuned-8rk6h 1/1 Running 0 102m 10.0.156.73 ip-10-0-156-73.us-east-2.compute.internal <none> <none> $ pod=tuned-8rk6h $ cat tuned.yml apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: nf-conntrack-max namespace: openshift-cluster-node-tuning-operator spec: profile: - data: | [main] summary=Test if user can apply custom tuning: sysctl net.netfilter.nf_conntrack_max include=openshift-node [sysctl] net.netfilter.nf_conntrack_max=1048578 # Here is some comment in the line name: nf-conntrack-max recommend: - match: - label: tuned.openshift.io/elasticsearch type: pod priority: 15 profile: nf-conntrack-max $ oc label pod $pod tuned.openshift.io/elasticsearch= pod/tuned-8rk6h labeled $ oc create -f tuned.yml tuned.tuned.openshift.io/nf-conntrack-max created $ oc get tuned NAME AGE default 109m nf-conntrack-max 3s rendered 109m $ oc get profiles NAME TUNED APPLIED DEGRADED AGE ip-10-0-132-241.us-east-2.compute.internal openshift-control-plane True False 109m ip-10-0-156-73.us-east-2.compute.internal nf-conntrack-max True False 105m ip-10-0-173-184.us-east-2.compute.internal openshift-control-plane True False 109m ip-10-0-194-68.us-east-2.compute.internal openshift-control-plane True False 109m $ oc delete tuned nf-conntrack-max tuned.tuned.openshift.io "nf-conntrack-max" deleted $ oc get tuned NAME AGE default 110m rendered 110m $ oc get profiles NAME TUNED APPLIED DEGRADED AGE ip-10-0-132-241.us-east-2.compute.internal openshift-control-plane True False 110m ip-10-0-156-73.us-east-2.compute.internal openshift-node True False 105m ip-10-0-173-184.us-east-2.compute.internal openshift-control-plane True False 110m ip-10-0-194-68.us-east-2.compute.internal openshift-control-plane True False 110m $ cat tuned.yml apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: nf-conntrack-max namespace: openshift-cluster-node-tuning-operator spec: profile: - data: | [main] summary=Test if user can apply custom tuning: sysctl net.netfilter.nf_conntrack_max include=openshift-node [sysfs] /sys/bus/pci/devices/0000:00:00.0/power/control=on name: nf-conntrack-max recommend: - match: - label: tuned.openshift.io/elasticsearch type: pod priority: 15 profile: nf-conntrack-max $ oc create -f tuned.yml tuned.tuned.openshift.io/nf-conntrack-max created $ oc get tuned NAME AGE default 111m nf-conntrack-max 5s rendered 111m $ oc get profiles NAME TUNED APPLIED DEGRADED AGE ip-10-0-132-241.us-east-2.compute.internal openshift-control-plane True False 111m ip-10-0-156-73.us-east-2.compute.internal nf-conntrack-max True False 107m ip-10-0-173-184.us-east-2.compute.internal openshift-control-plane True False 111m ip-10-0-194-68.us-east-2.compute.internal openshift-control-plane True False 111m $ oc delete tuned nf-conntrack-max tuned.tuned.openshift.io "nf-conntrack-max" deleted $ oc get profiles NAME TUNED APPLIED DEGRADED AGE ip-10-0-132-241.us-east-2.compute.internal openshift-control-plane True False 112m ip-10-0-156-73.us-east-2.compute.internal openshift-node True False 107m ip-10-0-173-184.us-east-2.compute.internal openshift-control-plane True False 112m ip-10-0-194-68.us-east-2.compute.internal openshift-control-plane True False 112m $ cat tuned.yml apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: nf-conntrack-max namespace: openshift-cluster-node-tuning-operator spec: profile: - data: | [main] summary=Test if user can apply custom tuning: sysctl net.netfilter.nf_conntrack_max include=openshift-node [sysfs] /sys/bus/pci/devices/0000:00:00.0/power/control=on # some comment also here name: nf-conntrack-max recommend: - match: - label: tuned.openshift.io/elasticsearch type: pod priority: 15 profile: nf-conntrack-max $ oc create -f tuned.yml tuned.tuned.openshift.io/nf-conntrack-max created $ oc get tuneds.tuned.openshift.io NAME AGE default 112m nf-conntrack-max 7s rendered 112m $ oc get profiles.tuned.openshift.io NAME TUNED APPLIED DEGRADED AGE ip-10-0-132-241.us-east-2.compute.internal openshift-control-plane True False 112m ip-10-0-156-73.us-east-2.compute.internal nf-conntrack-max True False 108m ip-10-0-173-184.us-east-2.compute.internal openshift-control-plane True False 112m ip-10-0-194-68.us-east-2.compute.internal openshift-control-plane True False 112m 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.10.3 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-2022:0056 |