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

Bug 1746044

Summary: CatalogSource status should show error info
Product: OpenShift Container Platform Reporter: Abu Kashem <akashem>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified    
Version: 4.2.0   
Target Milestone: ---   
Target Release: ---   
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: 2019-08-27 14:43:09 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 Abu Kashem 2019-08-27 14:27:32 UTC
CatalogSource status should show the following information
- If a `ConfigMap` is missing the status should reflect that.
- Any error while setting up the registry pod
- Last observed state of the gRPC connection to the registry pod.

Currently none of the information is available in the status block of a CatalogSource. 

How to reproduce:
a)
 1. Create a `CatalogSource` object that points to an non existing ConfigMap object.

Actual Results:
- The status block of the CatalogSource will have no information regarding the missing ConfigMap object.

Expected Results:
- The status block of the CatalogSource displays information regarding the missing ConfigMap.

b)

2. Add a ConfigMap object that the above CatalogSource refers to, make sure the fill the `data` section with invalid metadata that causes the registry pod to go into CrashLoop state. For example, you can put a non existing csv name for `currentCSV` inside the channel of the package.

Actual Results:
- The status block of the CatalogSource will have no information regarding the crash looping registry pod.

Expected Results:
- The status block of the CatalogSource displays information about the current state of the gRPC connection.

Comment 1 Evan Cordell 2019-08-27 14:43:09 UTC

*** This bug has been marked as a duplicate of bug 1737081 ***