Devstack apache fails to restart saying 'Address already in use'

Bug #1358281 reported by Vijayaguru Guruchave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Vijayaguru Guruchave

Bug Description

Devstack failed to start apache for Murano.

2014-08-18 10:25:01.803 | ++ restart_service apache2
2014-08-18 10:25:01.803 | ++ is_ubuntu
2014-08-18 10:25:01.803 | ++ [[ -z deb ]]
2014-08-18 10:25:01.803 | ++ '[' deb = deb ']'
2014-08-18 10:25:01.803 | ++ sudo /usr/sbin/service apache2 restart
2014-08-18 10:25:01.812 | * Restarting web server apache2
2014-08-18 10:25:02.244 | (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
2014-08-18 10:25:02.258 | (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
2014-08-18 10:25:02.258 | no listening sockets available, shutting down
2014-08-18 10:25:02.258 | AH00015: Unable to open logs
2014-08-18 10:25:02.270 | Action 'start' failed.
2014-08-18 10:25:02.270 | The Apache error log may have more information.
2014-08-18 10:25:22.297 | ...fail!
2014-08-18 10:25:22.298 | * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

Changed in murano:
assignee: nobody → Vijayaguru Guruchave (vijayaguru-g)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
status: New → In Progress
Changed in murano:
importance: Undecided → High
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/114969
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=40b93ac0ff5f420015abf1b661935a169b45e0fc
Submitter: Jenkins
Branch: master

commit 40b93ac0ff5f420015abf1b661935a169b45e0fc
Author: Vijayaguru Guruchave <email address hidden>
Date: Mon Aug 18 18:58:27 2014 +0530

    Make apache restarts a little more forgiving

    Apache sometimes is slow to release the port which can cause restarts of apache
    to fail due to the requested port already being bound. Make use of the function
    'restart_apache_server' added to fix #1342256, which introduces a small sleep
    between the stop and start to help make apache deployments a bit more resilient.

    Closes-Bug: #1358281

    Change-Id: Ic4206f24d7bb04b014b3cb179d2303bb301c59d2

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-3 → 2014.2
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.