Bug 2083428
| Summary: | low-latency-hooks.sh script requires ip binary in container image | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | browsell | |
| Component: | Performance Addon Operator | Assignee: | Yanir Quinn <yquinn> | |
| Status: | CLOSED ERRATA | QA Contact: | Gowrishankar Rajaiyan <grajaiya> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.10 | CC: | bzvonar, shajmakh | |
| Target Milestone: | --- | |||
| Target Release: | 4.11.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2091944 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-29 06:46:55 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: | 2091944 | |||
|
Comment 5
Martin Sivák
2022-06-08 10:06:25 UTC
Verification:
OCP: 4.11.0-0.nightly-2022-06-06-025509
(PAO is part NTO)
Steps:
apply the following profile:
===============================
apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
name: manual
spec:
cpu:
isolated: "0-2"
reserved: "3"
realTimeKernel:
enabled: true
nodeSelector:
node-role.kubernetes.io/worker-cnf: ""
===============================
after applying the profile, CPU mask is 8:
from inside a worker-cnf node:
cd /sys/devices/virtual/net
sh-4.4# find . -name rps_cpus -printf '%p\n' -exec cat {} \;
./br-ex/queues/rx-0/rps_cpus
008
./br-int/queues/rx-0/rps_cpus
008
./d75c25c0cd0ad46/queues/rx-0/rps_cpus
008
./ovn-k8s-mp0/queues/rx-0/rps_cpus
008
./genev_sys_6081/queues/rx-0/rps_cpus
008
./011841beca4e7f4/queues/rx-0/rps_cpus
008
./a2e007bd004b1e9/queues/rx-0/rps_cpus
008
./lo/queues/rx-0/rps_cpus
008
./54f8997284ea78a/queues/rx-0/rps_cpus
008
./ovs-system/queues/rx-0/rps_cpus
008
./08abfaadf6b4775/queues/rx-0/rps_cpus
008
./e2905b1cbb384d0/queues/rx-0/rps_cpus
008
after applying the profile there were no errors in the journalctl and same after creating a gu pod:
apiVersion: v1
kind: Pod
metadata:
name: test-runtime
annotations:
irq-load-balancing.crio.io: "disable"
cpu-quota.crio.io: "disable"
spec:
containers:
- name: ubi-minimal-test
image: quay.io/yanirq/test-ubi
#command: ["sleep", "1h"]
resources:
requests:
cpu: 2
memory: "200M"
limits:
cpu: 2
memory: "200M"
nodeSelector:
node-role.kubernetes.io/worker-cnf: ""
runtimeClassName: performance-manual
sh-4.4# journalctl --no-pager | grep low-latency-hooks
sh-4.4# journalctl | grep "ip: command not found"
sh-4.4#
moving to verified.
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.11.2 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-2022:6143 |