Comment 3 for bug 1952279

Revision history for this message
Andre Ruiz (andre-ruiz) wrote (last edit ):

More details:

When accessing the api for octavia, I'm getting 500 Internal Error. Tracing that, it seems that haproxy (port 9876) is relaying to apache (port 9866), which is offloading SSL and proxying back to apache (port 9856) which tries to run a WSGI and that one times out.

I'm not sure how to debug that. Running that WSGI on the console, I get just a few messages:

2021-11-25 16:55:23.724 3430891 INFO octavia.common.config [-] Logging enabled!
2021-11-25 16:55:23.724 3430891 INFO octavia.common.config [-] /usr/bin/octavia-wsgi version 9.0.0

(after a LONG wait)

2021-11-25 16:57:41.240 3430891 ERROR octavia.api.drivers.driver_factory [-] Unable to load provider driver ovn due to: Unable to open the driver agent socket: /var/run/octavia/status.sock: octavia_lib.api.drivers.exceptions.DriverAgentNotFound: Unable to open the driver agent socket: /var/run/octavia/status.sock
2021-11-25 16:57:41.241 3430891 CRITICAL octavia [-] Unhandled error: octavia.common.exceptions.ProviderNotFound: Provider 'ovn' was not found.

(python trace)

Where in a good system I get more (this is from a different deployment, just for comparison):

ubuntu@juju-8d30fd-5-lxd-2:~$ sudo octavia-wsgi
2021-11-25 15:21:42.338 243186 INFO octavia.common.config [-] Logging enabled!
2021-11-25 15:21:42.338 243186 INFO octavia.common.config [-] /usr/bin/octavia-wsgi version 6.2.1
********************************************************************************
STARTING test server octavia.api.app.setup_app
Available at http://juju-8d30fd-5-lxd-2.maas:8000/
DANGER! For testing only, do not use in production
********************************************************************************

(I omitted a few deprecation warnings in between).

I suspect octavia is blocking on something, the most obvious thing being talking to ovn maybe?