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

fix(skyline): resolve ERRNO 95 #919

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

cloudnull
Copy link
Contributor

This change resolves an intermitent issue that happens on some hosts where skyline refuses to start with the following error.

[2025-03-24 18:30:47 +0000].988 1 INFO [-] Starting gunicorn 23.0.0
[2025-03-24 18:30:47 +0000].988 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:47 +0000].988 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:48 +0000].989 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:48 +0000].989 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:49 +0000].990 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:49 +0000].990 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:50 +0000].991 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:50 +0000].991 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:51 +0000].992 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:51 +0000].992 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:52 +0000].993 1 ERROR [-] Can't connect to /var/lib/skyline/skyline.sock

The fix is to ensures that reuse_port is disabled. which will allow skyline to bind to the socket.

This change resolves an intermitent issue that happens on some hosts
where skyline refuses to start with the following error.

``` log
[2025-03-24 18:30:47 +0000].988 1 INFO [-] Starting gunicorn 23.0.0
[2025-03-24 18:30:47 +0000].988 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:47 +0000].988 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:48 +0000].989 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:48 +0000].989 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:49 +0000].990 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:49 +0000].990 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:50 +0000].991 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:50 +0000].991 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:51 +0000].992 1 ERROR [-] connection to /var/lib/skyline/skyline.sock failed: [Errno 95] Operation not supported
[2025-03-24 18:30:51 +0000].992 1 DEBUG [-] Retrying in 1 second.
[2025-03-24 18:30:52 +0000].993 1 ERROR [-] Can't connect to /var/lib/skyline/skyline.sock
```

The fix is to ensures that `reuse_port` is disabled. which will allow
skyline to bind to the socket.

Signed-off-by: Kevin Carter <[email protected]>
Copy link
Contributor

@rackerchris rackerchris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

@rackerchris rackerchris merged commit 1e1de68 into rackerlabs:main Mar 27, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants