Sometimes apache fails to restart claiming port is in use

Bug #1342256 reported by Morgan Fainberg
This bug report is a duplicate of:  Bug #1340660: Apache failed to start in the gate. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Morgan Fainberg

Bug Description

Apache can fail to start in some cases claiming the port is in use. This is because the init scripts / upstart / apachectl is faster at issuing the restart than apache is about cleaning everything up and freeing the port (to the kernel's satisfaction).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107131

Changed in devstack:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/107131
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=2df0046fa759481f793d9c51563728b21c7858d8
Submitter: Jenkins
Branch: master

commit 2df0046fa759481f793d9c51563728b21c7858d8
Author: Morgan Fainberg <email address hidden>
Date: Tue Jul 15 11:06:36 2014 -0700

    Make apache restarts a little more forgiving

    Apache sometimes is slow to release the port (from the kernel's
    perspective) which can cause restarts of apache to fail due to the
    requested port already being bound. This fix introduces a small sleep
    between the stop and start to help make apache deployments a bit
    more resilient.

    Change-Id: I9697d71f3cb2d8d5da8fe7ffa8b3e1ade9d52afd
    Closes-Bug: #1342256

Changed in devstack:
status: In Progress → Fix Released
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.