Comment 3 for bug 1545217

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (master)

Reviewed: https://review.openstack.org/289535
Committed: https://git.openstack.org/cgit/openstack/charm-openstack-dashboard/commit/?id=9e9e145b7be104ff9417d475774dc4cff0a5a5c2
Submitter: Jenkins
Branch: master

commit 9e9e145b7be104ff9417d475774dc4cff0a5a5c2
Author: David Ames <email address hidden>
Date: Mon Mar 7 11:40:27 2016 -0800

    Add sleep between stop/start in restart_on_change

    When restart_on_change runs service restart apache is not waiting for
    its threads to terminate particularly due to WSGI being involved for
    openstack-dashboard. When it attempts to restart the ports are already
    in use and unavailable. This change works around this bug adding a sleep
    time between stop and start to allow apache time to terminate its
    threads.

    Closes-Bug: #1545217
    Related-Bug: #1552822

    Change-Id: Ib5d4dee9a001b4554191abfdc7577ef739efd0f2