Bug 1717509

Summary: Marketplace operator does not properly define related resources
Product: OpenShift Container Platform Reporter: Aravindh Puthiyaparambil <aravindh>
Component: OLMAssignee: Aravindh Puthiyaparambil <aravindh>
OLM sub component: OperatorHub QA Contact: Fan Jia <jfan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: urgent CC: aravindh, erich, jfan, sanchezl, sponnaga, wsun
Version: 4.1.0   
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 4.1.8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The must-gather tool requires a field, RelatedObjects, in the ClusterOperator CR to be populated with ObjectReferences of the resources associated with the operator. This is missing for marketplace. Consequence: The must-gather tool is not able to gather enough information about the marketplace operator. Fix: Oopulates this field with the operator's namespace and the OperatorSource/CatalogSourceConfig/CatalogSource resources. Result: The must-gather tool is able to gather enough information about the marketplace operator.
Story Points: ---
Clone Of: 1717439 Environment:
Last Closed: 2019-07-31 02:44:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1717439    
Bug Blocks:    

Description Aravindh Puthiyaparambil 2019-06-05 16:05:00 UTC
+++ This bug was initially created as a clone of Bug #1717439 +++

Description of problem: 

The marketplace operator does not properly define related resources. This means support collection tools (like must-gather) can't collect the necessary information needed to debug issues with this operator. 

Version-Release number of selected component (if applicable): 4.1.0 (GA)

How reproducible: 100% of the time. 


Steps to Reproduce:
1. Run must-gather collection tools.

Actual results: This is missing information needed to debug the marketplace operator. 

Expected results: must-gather should collect the necessary resources, however, the way this works (it uses related resources), to collect this information. 

https://github.com/openshift/must-gather/blob/master/pkg/cmd/inspect/resource.go#L148-L164


Additional info:

Comment 1 Aravindh Puthiyaparambil 2019-07-17 23:56:32 UTC
*** Bug 1717732 has been marked as a duplicate of this bug. ***

Comment 2 Wei Sun 2019-07-24 07:06:49 UTC
The fix is merged to 4.1.0-0.nightly-2019-07-24-051320 ,please check if we could verify it.

Comment 6 errata-xmlrpc 2019-07-31 02:44:55 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-2019:1866