Description of problem: inspect on the tuning cluster operator does not gather all tuned CRs, it only gathers the default Version-Release number of selected component (if applicable): 4.6 4.7 How reproducible: 100% Steps to Reproduce: 1. Create a test tuned profile in openshift-cluster-node-tuning-operator [1] 2. oc adm inspect co/tuned or get must-gather 3. Only default tuned is captured Actual results: Only default tuned is captured Expected results: All tuned CRs captured Additional info: ``` apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: master-custom namespace: openshift-cluster-node-tuning-operator spec: profile: - data: | [main] summary=A custom OpenShift IPS host profile include=openshift-control-plane [sysctl] net.core.somaxconn = 10240 net.core.netdev_max_backlog = 10000 net.ipv4.tcp_max_syn_backlog = 20480 name: master-custom recommend: - match: - label: node-role.kubernetes.io/master priority: 10 profile: master-custom ```
Thank you for the report, Ryan. Fixed in 4.8+ Putting on QE.
Verify Steps: OCP/NTO Version: 4.8.0-0.nightly-2021-07-31-065602 Create tuned profile as below: cat master-profile.yaml apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: name: master-custom namespace: openshift-cluster-node-tuning-operator spec: profile: - data: | [main] summary=A custom OpenShift IPS host profile include=openshift-control-plane [sysctl] net.core.somaxconn = 10240 net.core.netdev_max_backlog = 10000 net.ipv4.tcp_max_syn_backlog = 20480 name: master-custom recommend: - match: - label: node-role.kubernetes.io/master priority: 10 profile: master-custom Verify Result: $ oc get tuned -n openshift-cluster-node-tuning-operator NAME AGE default 48m master-custom 40s rendered 48m oc adm inspect co/node-tuning [kubeadmin@ec2-18-217-45-133 tuneds]$ pwd /home/kubeadmin/nto/inspect.local.7437437409229937131/namespaces/openshift-cluster-node-tuning-operator/tuned.openshift.io/tuneds [kubeadmin@ec2-18-217-45-133 tuneds]$ cat master-custom.yaml --- apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: creationTimestamp: "2021-08-04T08:56:38Z" generation: 1 name: master-custom namespace: openshift-cluster-node-tuning-operator resourceVersion: "43853" uid: c5894090-4237-4ea4-aea7-e76935b12654 spec: profile: - data: | [main] summary=A custom OpenShift IPS host profile include=openshift-control-plane [sysctl] net.core.somaxconn = 10240 net.core.netdev_max_backlog = 10000 net.ipv4.tcp_max_syn_backlog = 20480 name: master-custom recommend: - match: - label: node-role.kubernetes.io/master priority: 10 profile: master-custom [kubeadmin@ec2-18-217-45-133 tuneds]$ ls -l master-custom.yaml -rwxr-xr-x. 1 kubeadmin kubeadmin 664 Aug 4 09:11 master-custom.yaml oc adm must-gather cd must-gather.local.7019908591260968172/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-eede85cbd33388f7e18954e5ce8ad9616e91df05ace604966c0a44111d85c897/namespaces/openshift-cluster-node-tuning-operator/tuned.openshift.io/tuneds tuneds]$ ls default.yaml master-custom.yaml rendered.yaml Summary: All tuned captured by oc adm must-gather and oc adm inspect co/node-tuning
removed duplicate comment
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.4 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:2983