Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-3371

Breakdown page doesn't show all "platform" clusters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2023Q1
    • None
    • UI
    • None

      The clusters card shown in the breakdown page doesn't appear to show all clusters for the "platform" feature.

      Looking at the code, it appears we grab clusters from the first project only. This typically works because there shouldn't be more than one project displayed in the breakdown page. Using group_by[project]=<name> typically returns just one project.

      Unfortunately, this is not the case with the "Platform" feature. For this scenario, we specify group_by[project]=*&filter[category]=Platform, which means there are now multiple projects (e.g., "Platform unallocated", "openshift-kube-apiserver", "kube-system", etc.).

      That said, I believe we need to iterate over all the returned projects in order to display clusters properly.

            dlabrecq@redhat.com Daniel Labrecque
            dlabrecq@redhat.com Daniel Labrecque
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: