Unable to set net.core.somaxconn in nailgun container during build time

Bug #1393049 reported by Dima Shulyak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn

Bug Description

uwsgi unable to start because value listen backlog option is bigger than net.core.somaxconn value

I tried to add sysctl -w for uwsgi.pp, but build of iso is failed because of read only filesystem:

"Read-only file system" setting key "net.core.somaxconn"

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dima Shulyak (dshulyak)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/134724
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=9213455105c9d231a35649d03f83e2aab06a66da
Submitter: Jenkins
Branch: master

commit 9213455105c9d231a35649d03f83e2aab06a66da
Author: Dmitry Shulyak <email address hidden>
Date: Sat Nov 15 18:29:48 2014 +0000

    Revert "Raise number of nailgun uWSGI workers and sockets"

    This reverts commit 39dd5e2bd811bbcc472d48890f9e3c5ae499cc64.
    Closes-Bug: 1393049
    Change-Id: Ib52af8ba3e7cb22daf5f8dc59af4e38863e64cf7

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

This revert does not fix the issue, we still have to address net.core.somaxconn somehow

Changed in fuel:
status: Fix Committed → In Progress
assignee: Dima Shulyak (dshulyak) → Fuel Library Team (fuel-library)
importance: Critical → High
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Lowered to high, due to no more blocker since reverted

Changed in fuel:
status: In Progress → Confirmed
Revision history for this message
Dima Shulyak (dshulyak) wrote :

I researched it a bit, and looks like that modifying /etc/sysctl.conf and then providing sysctl -p using docker entrypoints [1]
should work

1. https://docs.docker.com/articles/dockerfile_best-practices/#entrypoint

Changed in fuel:
status: Confirmed → Triaged
assignee: Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r)
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Matt, are you working on the bug or we should reassign it back to fuel-library and get some free hands for it?

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Changed in fuel:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.