Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5635 Create UI DB table
  3. COST-5729

Total cost randomly droped for some OCPVirt Virtual machines

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • 2024Q4
    • None
    • None
    • None
    • 5
    • False
    • None
    • False
    • COST-5690 - OpenShift Virtual Machines

      The file used is 

      ocp_static_report_0_template
      http://localhost:8000/api/cost-management/v1/reports/openshift/resources/virtual-machines/?filter[time_scope_units]=month&filter[time_scope_value]=-1&filter[resolution]=monthly&filter[project]=test_echo&order_by[cost]=desc&limit=100

      You'll get 4 o 5 vm with total cost 0.0
      I increased the total cpu and memory on the node and all the pod limits but still not seing what could be the cause

      "vm_name": "echovm",
      "values": [
          {
              "vm_name": "echovm",
              "date": "2024-11",
              "cluster": "test_cost_ocp_static_cluster_0",
              "node": "tests-echo",
              "project": "test_echo",
              "source_uuid": [
                  "9189d5d6-09f3-4caf-b637-f5b5ed822f8a"
              ],
              "infrastructure": {
                  "raw": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "markup": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "usage": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "total": {
                      "value": 0.0,
                      "units": "USD"
                  }
              },
              "supplementary": {
                  "raw": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "markup": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "usage": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "total": {
                      "value": 0.0,
                      "units": "USD"
                  }
              },
              "cost": {
                  "raw": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "markup": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "usage": {
                      "value": 0.0,
                      "units": "USD"
                  },
                  "total": {
                      "value": 0.0,
                      "units": "USD"
                  }
              },
              "request": {
                  "cpu": {
                      "value": 5.0,
                      "units": "Core"
                  },
                  "memory": {
                      "value": 5.0,
                      "units": "GiB"
                  }
              }
          }
      ]

              myersco Cody Myers
              rh-ee-plopezpe Pedro Lopez Perez
              Pedro Lopez Perez Pedro Lopez Perez
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: