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

Duplicating ocp usage data once you start a new month

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2021Q2
    • None
    • API
    • None
    • False
    • False
    • Undefined

      Ocp usage data across the board (cpu/mem/volume) is doubling when you start a new month. Or if your initial ingest collects 2 months of data then both previous month and current month get doubled.

       

      Steps:

      1. Add OCP sources
      2. Ingest previous month data using nise
      3. Check usage counts
      4. Create/ingest new data for current month
      5. See current month usage double expected counts

       

      Note:

      Also if you re-summarise the previous month that data will also get doubled.

       

      See examples:

      previous month data
      "project": "qe_test","values": [{"date": "2021-05-30","project": "qe_test","usage":

      {"value": 24.0,"units": "Core-Hours"}

      ,"request":

      {"value": 48.0,"units": "Core-Hours"}

      ,"limit":

      {"value": 72.0,"units": "Core-Hours"}

      ,"capacity": {"value": 72.0,"units": "Core-Hours"
       

      Current month data
      "project": "qe_test","values": [{"date": "2021-06-01","project": "qe_test","usage":

      {"value": 48.0,"units": "Core-Hours"}

      ,"request":

      {"value": 96.0,"units": "Core-Hours"}

      ,"limit":

      {"value": 144.0,"units": "Core-Hours"}

      ,"capacity": {"value": 72.0,"units": "Core-Hours"

              docurtis Doug Curtis (Inactive)
              rhn-support-lcouzens Luke Couzens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: