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

Gunicorn 20.x breaks use of docker Alpine Linux #783

Closed
marcelvanveen opened this issue Nov 13, 2019 · 5 comments
Closed

Gunicorn 20.x breaks use of docker Alpine Linux #783

marcelvanveen opened this issue Nov 13, 2019 · 5 comments
Milestone

Comments

@marcelvanveen
Copy link

The dependency on gunicorn 20.0.0 (committed in eb90995) breaks the web frontend on Alpine Linux docker containers (both xirixiz and ualex73):

/bin/nice -n 15 gunicorn dsmrreader.wsgi --timeout 60 --max-requests 500 --bind unix:/var/tmp/gunicorn--dsmr_reader.socket --pid /var/tmp/gunicorn--dsmr_reader.pid
Traceback (most recent call last):
  File "/usr/local/bin/gunicorn", line 5, in <module>
    from gunicorn.app.wsgiapp import run
  File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 9, in <module>
    from gunicorn.app.base import Application
  File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 12, in <module>
    from gunicorn.arbiter import Arbiter
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 16, in <module>
    from gunicorn import sock, systemd, util
  File "/usr/local/lib/python3.8/site-packages/gunicorn/sock.py", line 14, in <module>
    from gunicorn.socketfromfd import fromfd
  File "/usr/local/lib/python3.8/site-packages/gunicorn/socketfromfd.py", line 26, in <module>
    raise OSError('libc not found')
OSError: libc not found

More details are available in see benoitc/gunicorn#2160.

Is it possible to downgrade the required gunicorn package back to 19.9.0? As a workaround, the fix mentioned in benoitc/gunicorn#2160 (comment) works.

@xirixiz
Copy link
Contributor

xirixiz commented Nov 13, 2019

Thanks Marcel! Alpine Edge can install 19.9.0, Alpine 3.10 can only install 19.7.1-r2.

I removed all images with the 2.11.1 release.

@dennissiemensma
Copy link
Member

Bedankt voor de melding. Welke versie is uiteindelijk gewenst? 19.9 of 19.7?

@dennissiemensma dennissiemensma added this to the 2.11.2 milestone Nov 13, 2019
@dennissiemensma dennissiemensma changed the title gunicorn 20.0.0 dependency breaks use of docker Alpine Linux Gunicorn 20.x breaks use of docker Alpine Linux Nov 13, 2019
@dennissiemensma
Copy link
Member

Ik heb de laagste gepakt. Staat nu in nieuwe release v2.11.2

@xirixiz
Copy link
Contributor

xirixiz commented Nov 14, 2019

Works like a charm again! Thanks!

@dennissiemensma
Copy link
Member

@marcelvanveen @xirixiz weten jullie toevallig of dit inmiddels wel werkt? Issue 2160 in Gunicorn lijkt gefixt namelijk.

Is het voor jullie eenvoudig om even te testen of gunicorn==20.0.4 daadwerkelijk werkt met Alpine?

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

3 participants