Bug 1873348

Summary: Operator install page does not handle when Subscription has error but no status
Product: OpenShift Container Platform Reporter: Zac Herman <zherman>
Component: Management ConsoleAssignee: Zac Herman <zherman>
Status: CLOSED WONTFIX QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, jhadvig, jokerman, pweil, spadgett
Target Milestone: ---Keywords: Reopened
Target Release: 4.7.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: 2021-03-18 08:54:03 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: 1862846    
Bug Blocks:    

Description Zac Herman 2020-08-28 01:17:12 UTC
Description of problem:
If a new subscription errors for whatever reason, it has no status which is a known OLM bug, however the console hangs indefinitely saying "Installing...".

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


How reproducible:
Always

Steps to Reproduce:
1. On 4.6 system, install OCS operator
2. Uninstall OCS
3. Reinstall OCS operator (this normally will fail for OCS )

Actual results:
Console stuck saying "Installing..." indefinitely

Expected results:
Console should report error and leave the install page gracefully 

Additional info:

Comment 3 Zac Herman 2020-10-02 15:07:05 UTC
While we have a solution for this in PR8581 https://github.com/openshift/console/pull/6581/, it is not ideal and we prefer not to put this in at this time.  Instead we will wait for a solution from OLM team.  Therefore, I am closing this ticket for now.