+++ This bug was initially created as a clone of Bug #1986576 +++ 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 ``` --- Additional comment from Jiří Mencák on 2021-07-28 08:57:14 UTC --- Thank you for the report, Ryan. Fixed in 4.8+ Putting on QE.
$ oc get tuned NAME AGE default 149m master-custom 59s rendered 149m $ oc adm inspect co/node-tuning Gathering data for ns/openshift-cluster-node-tuning-operator... Wrote inspect data to inspect.local.506920476195171571. $ cat inspect.local.506920476195171571/namespaces/openshift-cluster-node-tuning-operator/tuned.openshift.io/tuneds/master-custom.yaml --- apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: creationTimestamp: "2021-08-10T17:15:06Z" generation: 1 name: master-custom namespace: openshift-cluster-node-tuning-operator resourceVersion: "69937" selfLink: /apis/tuned.openshift.io/v1/namespaces/openshift-cluster-node-tuning-operator/tuneds/master-custom uid: b52d0f92-d705-400a-b436-7a73faa6ca97 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 $ oc adm must-gather [must-gather ] OUT Using must-gather plug-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:040f48c020420ff93b227216469f6c2971cf10fac2b0b52ea9853e88ec1964a6 [...] $ cat must-gather.local.100876708693425642/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-040f48c020420ff93b227216469f6c2971cf10fac2b0b52ea9853e88ec1964a6/namespaces/openshift-cluster-node-tuning-operator/tuned.openshift.io/tuneds/master-custom.yaml --- apiVersion: tuned.openshift.io/v1 kind: Tuned metadata: creationTimestamp: "2021-08-10T17:15:06Z" generation: 1 managedFields: - apiVersion: tuned.openshift.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: .: {} f:profile: {} f:recommend: {} manager: kubectl-create operation: Update time: "2021-08-10T17:15:06Z" name: master-custom namespace: openshift-cluster-node-tuning-operator resourceVersion: "69937" selfLink: /apis/tuned.openshift.io/v1/namespaces/openshift-cluster-node-tuning-operator/tuneds/master-custom uid: b52d0f92-d705-400a-b436-7a73faa6ca97 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 $ oc get clusterversions.config.openshift.io NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2021-08-06-180629 True False 135m Cluster version is 4.7.0-0.nightly-2021-08-06-180629
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.7.24 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:3032