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.
Reviewed: https:/ /review. openstack. org/289535 /git.openstack. org/cgit/ openstack/ charm-openstack -dashboard/ commit/ ?id=9e9e145b7be 104ff9417d47577 4dc4cff0a5a5c2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9e9e145b7be104f f9417d475774dc4 cff0a5a5c2
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 dashboard. When it attempts to restart the ports are already
its threads to terminate particularly due to WSGI being involved for
openstack-
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: Ib5d4dee9a001b4 554191abfdc7577 ef739efd0f2