Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octavia Amphora: Logging Issue #981

Open
lathiat opened this issue Oct 4, 2024 · 0 comments
Open

Octavia Amphora: Logging Issue #981

lathiat opened this issue Oct 4, 2024 · 0 comments

Comments

@lathiat
Copy link
Contributor

lathiat commented Oct 4, 2024

It seems there is a bug in Python < 3.11, causing amphora-agent to sometimes error out which then puts the LB in an error state. It's not yet fixed, but it would be useful to detect the error.

Related: gunicorn #2073
Related: https://bugs.python.org/issue43196

amphora-agent[1759]: FileNotFoundError: [Errno 2] No such file or directory
amphora-agent[1759]: Message: 'PUT /1.0/loadbalancer/0fca9ddb-53bc-47d9-ae90-ddf27a9c0567/reload'
amphora-agent[1759]: Message: 'PUT /1.0/vrrp/upload'
amphora-agent[1759]:  File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket
amphora-agent[1759]:   self.socket.connect(address)
amphora-agent[1759]: FileNotFoundError: [Errno 2] No such file or directory
Keepalived_vrrp[2478]: VRRP_Script(check_script) failed (exited with status 3)
Keepalived_vrrp[2478]: (6b8112f598854d9aacc8a593fe8bab4a) Entering FAULT STATE
Keepalived_amphora-haproxy[2138]: Stopping
Keepalived_healthcheckers_amphora-haproxy[2139]: Shutting down service [192.168.0.193]:udp:36006 from VS [192.168.0.244]:udp:20101
Keepalived_healthcheckers_amphora-haproxy[2139]: Shutting down service [192.168.0.61]:udp:36006 from VS [192.168.0.244]:udp:20101
Keepalived_healthcheckers_amphora-haproxy[2139]: Shutting down service [192.168.0.71]:udp:36006 from VS [192.168.0.244]:udp:20101
Keepalived_healthcheckers_amphora-haproxy[2139]: Stopped
Keepalived_amphora-haproxy[2138]: Stopped Keepalived v2.0.19 (10/19,2019)
Keepalived_amphora-haproxy[2138]: unmount of /run/keepalived/ failed - errno 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant