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

Incorrect structure of "count" of instances for items with missing values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2022Q3
    • None
    • None

      When we have no value for some item in instance-type report, this item has an incorrect structure of "count" (count_missing_values.png)

      This seems to happen only with group_by[project]

      Expected:

      "count":{"value":0.0,"units":"instances"}

      Reality:

      "count":0.0,"count_units":null,

       

      Steps to reproduce:

      • reach out to me if you need any assistance.
      • You need to have OCP on Azure data with a missing item for one day and use group_by[project] and filter[limit] in the request. The example in the picture was spotted in full smoke run in stage env upon this request /v1/reports/openshift/infrastructures/azure/instance-types/?group_by[project]=&filter[limit]=10

       

       

            rh-ee-dnakabaa David Nakabaale
            rhn-support-esebesto Eva Šebestová
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: