#7072 Staging Greenwave gives 503 error from OpenShift even though the app is up now
Closed: Fixed Opened by dcallagh.

  • Describe what you need us to do:
    I am hoping someone can help me figure out why the routes for Greenwave in staging Openshift are returning 503:

https://greenwave-web-greenwave.app.os.stg.fedoraproject.org/
https://greenwave.stg.fedoraproject.org/

Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.

The Greenwave app was broken in stage for a while, with a failed deployment due to bad configuration, but I fixed those issues this morning and it has now deployed successfully. There are 2 running pods for the web app, and Patrick confirmed that the service is up and reachable from within OpenShift itself. It seems to be just the routes (there are two, for the original hostname and the new "pretty" hostname) which still think the app is down.

  • When do you need this? (YYYY/MM/DD)
    ASAP although nothing is broken in prod

  • When is this no longer needed or useful? (YYYY/MM/DD)

  • If we cannot complete your request, what is the impact?
    Blocks Greenwave release (we want to test it in stage before deploying in prod)


With Patrick's help we already tried deleting and re-creating the routes in Openshift. The routes were successfully created but nevertheless Openshift still keeps giving 503.

The status of the route seems like it should be fine:

$ oc -n greenwave get route/web-pretty -o yaml
...
status:
  ingress:
  - conditions:
    - lastTransitionTime: 2018-07-02T02:44:29Z
      status: "True"
      type: Admitted
    host: greenwave.stg.fedoraproject.org
    routerName: router
    wildcardPolicy: None

It is probably me doing something totally dumb like having made a typo somewhere, but I have triple checked everything and I can't spot the mistake...

This turned out to have been a stuck router, and after restarting the router the route table got updated.

Metadata Update from @puiterwijk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata