Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-3165 Attribute Azure node attached storage to OpenShift Projects
  3. COST-5239

QE - Full smokes regressions: API returns null storage usage at /openshift/infrastructures/azure/storage/

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2024-Jul-19
    • None
    • None
    • None
    • 1
    • False
    • None
    • False
    • COST-5108 - Attribute node attached storage to OpenShift Projects

      While investigating regressions running full smokes locally  with the unattributed storage branch there are several errors regarding the returned field Usage: null

      This behaviour was not covered in the design doc and not sure if is a bug

      Reproducer:

      pull the MR: plopezpe/raw_calc_claimed_volume

      the ocp on azure multisources have been added the blanck attributes in OCP static files

      Enable the unattributed storage feature in unleash

      run the test:

      ENV_FOR_DYNACONF=local iqe tests plugin cost_management -k "test_api_ocp_on_azure_storage_validate_total_date_range" --pdb -raA

      wait for initial ingest and see the test fail

      The follwoing API call:

       http://localhost:8000/api/cost-management/v1/reports/openshift/infrastructures/azure/storage/?filter[resolution]=daily&group_by[subscription_guid]=*&start_date=2024-07-01&end_date=2024-07-08&group_by[cluster]=*


      returns null usage for cluster using csi storage drivers

              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: