Bug 1504475 - [RFE] Have "tuned-adm recommend" match OCP 3.5 installed master/node profile
Summary: [RFE] Have "tuned-adm recommend" match OCP 3.5 installed master/node profile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.0
Assignee: Jiří Mencák
QA Contact: Johnny Liu
URL: aos-scalability-36
Whiteboard:
Depends On: 1459146
Blocks: 1724792 1465887 TUNED-7.5-REBASE 1485946
TreeView+ depends on / blocked
 
Reported: 2017-10-20 02:41 UTC by Johnny Liu
Modified: 2019-06-28 16:04 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1459146
Environment:
Last Closed: 2018-08-01 20:19:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Scott Dodson 2018-04-16 15:34:25 UTC
I believe this is fixed in master, is it not?

Comment 3 Johnny Liu 2018-04-19 05:06:46 UTC
Running testing with openshift-ansible-3.10.0-0.22.0, but failed.

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)

# rpm -q kernel
kernel-3.10.0-862.el7.x86_64

# rpm -q tuned
tuned-2.9.0-1.el7.noarch

# rpm -qa|grep openshift|grep tune
<empty>

No openshift tune rpm is installed now.

installer is installing tune profile into /etc/tuned/{openshift,openshift-control-plane,openshift-node}/

# ls /etc/tuned
active_profile  bootcmdline  openshift  openshift-control-plane  openshift-node  profile_mode  recommend.conf  recommend.d  tuned-main.conf


On master:
# tuned-adm recommend
openshift-control-plane

# tuned-adm list
Available profiles:
- balanced                    - General non-specialized tuned profile
- desktop                     - Optimize for the desktop use-case
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- openshift                   - Optimize systems running OpenShift (parent profile)
- openshift-control-plane     - Optimize systems running OpenShift control plane
- openshift-node              - Optimize systems running OpenShift nodes
- powersave                   - Optimize for low power consumption
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests
Current active profile: openshift-control-plane


This is correct.

on node:
# tuned-adm list
Available profiles:
- balanced                    - General non-specialized tuned profile
- desktop                     - Optimize for the desktop use-case
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- openshift                   - Optimize systems running OpenShift (parent profile)
- openshift-control-plane     - Optimize systems running OpenShift control plane
- openshift-node              - Optimize systems running OpenShift nodes
- powersave                   - Optimize for low power consumption
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests
Current active profile: openshift-node

But the following command return:
# tuned-adm recommend
openshift-control-plane

Which should be some "openshift-node".

Comment 4 Jiří Mencák 2018-04-20 09:20:06 UTC
This was already fixed for 3.9.  In 3.10, the content of /etc/origin/node/node-config.yaml changed and cannot be used during the installation as it is now.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1569917


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