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

[neutron-operator] Make route timeout configurable

XMLWordPrintable

    • 2024Q1

      We using openshift routes to interact with neutron APIs and default timeout for it is 30s, if request takes more than 30 second we see below error:-

      Error while executing command: HttpException: 504, 504 Gateway Time-out: The server didn't respond in time.

      We need to provide tuning option for this with some good default configured.

      One option i found to handle this is to add annotations: haproxy.router.openshift.io/timeout: <timeout>s to the routes.

      via commands:-

      oc annotate route neutron-public --overwrite haproxy.router.openshift.io/timeout=120s

      reference:- https://docs.openshift.com/container-platform/4.10/networking/routes/route-configuration.html#nw-configuring-route-timeouts_route-configuration{}

              egarciar@redhat.com Elvira Garcia
              ykarel@redhat.com Yatin Karel
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: