Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1767

Don't show subscriptions with plan.id='AnsibleWisdom'

    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • ACM Console Sprint 254

      UI gets from accounts-manager some subscriptions with plan.id='AnsibleWisdom' and attempts to show them as clusters.  e.g. https://console.redhat.com/openshift/details/s/2amXINZ5mKzWbzijjKtIjsfnOYV

      Per slack thread, those are not clusters and should be filtered out in the subscriptions request we make.

      Steps to reproduce

      1. Run in CLI (omit the Active part if you don't get any):
        ocm get subs -p search="plan.id = 'AnsibleWisdom' AND status = 'Active'"
      2. Search the cluster list in the UI by subscription id or cluster_id.
        Actual behavior: can see them in list and click them, but they lack most data clusters have.
        Expected: can't find them.

      P.S. So far our query approach has been plan.id NOT IN ... built from omittedProducts denylist.  This is not first time non-cluster subscription types were added and we only remembered to exclude from UI afterwards... So perhaps it's wiser to switch to "allowlist" of types?

       

        1. image-2024-06-05-13-45-01-100.png
          141 kB
          Denis Ragan
        2. screenshot-1.png
          124 kB
          Beni Paskin-Cherniavsky

            rh-ee-daznauro David Aznaurov
            bpaskinc@redhat.com Beni Paskin-Cherniavsky (Inactive)
            Denis Ragan Denis Ragan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: