Bug 1769768

Summary: RelatedObjects in clusteroperator monitoring references non-existent monitoring resource
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: MonitoringAssignee: Frederic Branczyk <fbranczy>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: alegrand, anpicker, erooth, juzhao, kakkoyun, lcosic, mloibl, pkrupa, surbania
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:11:28 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 Maciej Szulik 2019-11-07 12:23:08 UTC
This line:

https://github.com/openshift/cluster-monitoring-operator/blob/e515ed03618466b6a1b9d2fcf12192191bfd90f8/pkg/client/status_reporter.go#L46

is adding non-existing resource to related objects, please revise the related objects and upadate per what you might need when debugging your operator. 

The value of relatedObjects are input for oc adm must-gather and oc adm inspect commands. 

See https://github.com/openshift/cluster-kube-controller-manager-operator/blob/a74352c81f9c60f25bd4450a929475052fa70c65/pkg/operator/starter.go#L113-L119 as an example what kcm-o is setting in relatedobjects.

Comment 5 errata-xmlrpc 2020-01-23 11:11:28 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, 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:0062