Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1717439

Summary: Marketplace operator does not properly define related resources
Product: OpenShift Container Platform Reporter: Eric Rich <erich>
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
Version: 4.1.0   
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
: 1717509 (view as bug list) Environment:
Last Closed: 2019-10-16 06:31:10 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:
Bug Depends On:    
Bug Blocks: 1717509    

Description Eric Rich 2019-06-05 13:21:35 UTC
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-06-07 20:13:24 UTC
https://github.com/operator-framework/operator-marketplace/pull/205

Comment 11 errata-xmlrpc 2019-10-16 06:31:10 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:2922