Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-23754

CloudKitty: Scope API POST does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.15
    • openstack-cloudkitty
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-conplat-observability
    • None
    • Moderate

      To Reproduce Steps to reproduce the behavior:

      1. Try to create a Scope via the API:
        1.  

          curl -X POST -H "X-Auth-Token: $TOKEN" \       -H "Content-Type: application/json" \       -d '{"scope_id": "950c5f200375432f94ec68a9ee03afb8","scope_key": "project_id", "fetcher": "gnocchi", "collector": "gnocchi", "active": true, "last_processed_timestamp": "2025-12-15T16:30:00+01:00"}' "http://10.113.190.187/rating/v2/scope"

           

      It does nothing

      Expected behavior

      • A new Scope is created with the provided data

      Bug impact

      • There is no impact on the user, as the Scope API is not generally used. The impact is that the processor cannot be tested without this.

      Known workaround

      • Allow the processor to do the first processing and it will end up creating automatically all the scopes

              rhn-engineering-jlarriba Juan Larriba
              rhn-engineering-jlarriba Juan Larriba
              rhos-conplat-observability
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: