Bug 1851214

Summary: Node tuning operator `relatedObjects` doesn't specify `resource` correctly
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Node Tuning OperatorAssignee: Jiří Mencák <jmencak>
Status: CLOSED ERRATA QA Contact: Simon <skordas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: sejug
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.6.0-0.ci-2020-06-24-223142 Cluster ID: 707aa603-21f7-4db5-bddf-931da4565115 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Last Closed: 2020-10-27 16:09:46 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:

Description Samuel Padgett 2020-06-25 19:17:16 UTC
The `relatedObjects` stanza for the node tuning cluster operator is incorrect. The `resource` property should be the lowercase, plural value like `daemonsets`. The camel-case kind like `DaemonSet` shouldn't be used. This breaks links to these related objects in console.


  relatedObjects:
    - group: ''
      name: openshift-cluster-node-tuning-operator
      resource: namespaces
    - group: tuned.openshift.io
      name: default
      namespace: openshift-cluster-node-tuning-operator
      resource: Tuned
    - group: apps
      name: tuned
      namespace: openshift-cluster-node-tuning-operator
      resource: DaemonSet

Comment 5 Simon 2020-07-28 19:46:37 UTC
  relatedObjects:
  - group: ""
    name: openshift-cluster-node-tuning-operator
    resource: namespaces
  - group: tuned.openshift.io
    name: default
    namespace: openshift-cluster-node-tuning-operator
    resource: tuneds
  - group: apps
    name: tuned
    namespace: openshift-cluster-node-tuning-operator
    resource: daemonsets
  versions:
  - name: operator
    version: 4.6.0-0.nightly-2020-07-25-091217

Links from console:
https://console-openshift-console.apps.skordas727.qe.devcluster.openshift.com/k8s/cluster/namespaces/openshift-cluster-node-tuning-operator
https://console-openshift-console.apps.skordas727.qe.devcluster.openshift.com/k8s/ns/openshift-cluster-node-tuning-operator/tuned.openshift.io~v1~Tuned/default
https://console-openshift-console.apps.skordas727.qe.devcluster.openshift.com/k8s/ns/openshift-cluster-node-tuning-operator/daemonsets/tuned

Comment 7 errata-xmlrpc 2020-10-27 16:09:46 UTC
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.6 GA Images), 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-2020:4196