Created attachment 1681468 [details]
Screenshot of React error
Description of problem:
A React error is displayed if I try to navigate to a resource detail in the Operator details page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. I have RHACM installed. Left Nav -> Operators -> Installed Operators.
2. Click Multicluster Subscription Operator.
3. There are two Subscription tabs; choose the second tab.
4. Click any Subscription resource.
5. Observe the React error.
See Subscription resource details.
Setting target release to current development version (4.5) for investigation. Where fixes (if any) are required/requested for prior versions, cloned BZs will be created when appropriate.
I believe this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1798130. I am not able to get RHACM installed (not clear on how as https://github.com/open-cluster-management/rhacm-docs appears outdated), but I was able to install Multicluster Subscription Operator directly and view the Subscription details page with no issues on a 4.3.13 cluster.
Created attachment 1682236 [details]
No error on Subscription details page when Multicluster Subscription Operator is installed directly
Generally this is caused by a mistake in the way the status descriptor is declared in the ClusterServiceVersion manifest. The runtime error for bad descriptors would have been handled in bug 1797727, but that will hide the descriptor with the problem. We should look at problematic descriptor to see what's wrong.
> There are two Subscription tabs; choose the second tab.
That's unfortunate. There is an OLM resource called Subscription that we should have a tab on the installed operators page. It sounds like ACM has a separate Subscription custom resource, so we have two tabs with the same name.
Can you attach the YAML for the ClusterServiceVersion resourcce you're looking at and the YAML for the Subscription resource that has the error? (Not the OLM Subscription, but the Subscription custom resource provided by the operator.) We shouldn't need a full ACM environment if we can get the YAML for those resources.
I was able to get RHACM installed on my 4.3.13 cluster and confirmed the bug is fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1798130.
*** This bug has been marked as a duplicate of bug 1798130 ***
Created attachment 1682248 [details]
Bug is fixed
ACM has an incorrect status descriptor in its ClusterServiceVersion manifest, specifically:
- description: The current status of the subscription
The `status.statuses` property is an object, which is not compatible with the `urn:alm:descriptor:text` descriptor.