Created attachment 1718397 [details] Example subscription Description of problem: When adding a Subscription which contains type e.g .in channel or name the UI console just shows 'Unknown failure' which is not very helpful. Version-Release number of selected component (if applicable): 4.6.0-0.nightly-2020-09-29-170625 How reproducible: Always Steps to Reproduce: 1. Apply Subscription with typo in channel or name Actual results: UI shows just 'Unknown failure', see attached screenshot Expected results: The error should be clear informing user that given channel/name does not exist. Additional info: Attached example Subscription and UI screenshot Another problem related to this is that Operator Hub UI shows the operator as installed but Installed Operators page does not show it which is confusing.
Created attachment 1718398 [details] screenshot
Moving this over to the console, as the UI component is currently owned by that group. Also marking this for 4.7, since this doesn't appear to be a release blocker for 4.6.
Console currently shows this message if there is no `subscription.status.state`.
As mentioned by Sam we are only rendering the Subscription state from `subscription.status.state`. In this particular case where given channel/name does not exist we dont have any mechanism to figure that out. This needs to be covered byt the OLM, so moving back. Also regarding the additional info: ``` Another problem related to this is that Operator Hub UI shows the operator as installed but Installed Operators page does not show it which is confusing. ``` We are not rendering the Subscriptions in case "All projects" is picked for the resource namespace scope.
*** This bug has been marked as a duplicate of bug 1862846 ***