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

Add non-successful status code handling

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • openstack-aetos
    • None
    • CloudOps 2025 Sprint 9
    • 1

      Goal: 

      • Ideally, Aetos should return the same status codes as Prometheus, especially when there is some kind of error. One way to do this is to use try - except statements to catch unsuccessful requests to Prometheus and reraise an exception as the proper pecan exception with the proper status code

      Acceptance Criteria:

      • Aetos returns the same status codes as Prometheus for unsuccessful requests

              rh-ee-jwysogla Jaromir Wysoglad
              rh-ee-jwysogla Jaromir Wysoglad
              rhos-conplat-observability
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: