devstack/lib
Ian Wienand f6a2d2cd4e Always restart apache
As described in [1], it seems that mod_wsgi is not "graceful" reload
safe.  Upon re-init, it can end up in a segfault loop.

The "reload" (not *restart*) after setting up uwsgi was added with
I1d89be1f1b36f26eaf543b99bde6fdc5701474fe but not causing an issue
until uwsgi was enabled.

We do not notice in the gate, because the TLS setup ends up doing a
restart after this setup.  In the period between the
write_uwsgi_config and that restart, Apache is sitting in a segfault
loop, but we never noticed because we don't try talking to it.  Other
jobs that don't do any further apache configuration have started
failing, however.

Looking at the original comments around "reload_apache_server" I'm not
sure if it is still necessary.  [2] shows it is not used outside these
two calls.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1445540
[2] http://codesearch.openstack.org/?q=reload_apache_server&i=nope&files=&repos=

Closes-Bug: #1686210
Change-Id: I5234bae0595efdcd30305a32bf9c121072a3625e
2017-04-26 11:09:59 +10:00
..
cinder_backends Added support for fake drivers as Cinder backend 2017-02-22 09:14:54 -05:00
cinder_plugins Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
databases Revert "put mysql on a memory diet" 2017-03-15 21:58:48 +00:00
neutron_plugins Remove XenServer specific ovs agent config 2017-03-21 20:56:58 -07:00
nova_plugins Merge "Do not use libvirt-bin package anymore" 2017-04-07 00:37:36 +00:00
apache Always restart apache 2017-04-26 11:09:59 +10:00
cinder Merge "Set fixed-key key manager" 2017-04-25 23:42:18 +00:00
database Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
dlm cinder: configure dlm when this one is zookeeper 2017-01-04 10:21:29 +01:00
dstat initial work to enable systemd service running 2017-03-28 07:19:15 -04:00
glance Remove USE_SSL support 2017-04-17 07:27:32 -04:00
horizon Introduce a PYTHON env var 2017-01-05 18:41:29 -05:00
infra Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
keystone Convert keystone to use uwsgi with the proxy 2017-04-17 16:27:35 -04:00
ldap Use keystone[ldap] for ldap packages 2016-01-05 07:41:35 -05:00
lvm Missing parameter in comment 2016-12-05 15:32:25 +08:00
neutron Remove USE_SSL support 2017-04-17 07:27:32 -04:00
neutron-legacy Remove USE_SSL support 2017-04-17 07:27:32 -04:00
nova Merge "Set fixed-key key manager" 2017-04-25 23:42:18 +00:00
os_brick Restoring xtrace state for os-brick plugin 2016-07-14 14:20:08 -03:00
oslo Merge "Add cursive to LIBS_FROM_GIT" 2017-04-19 12:37:15 +00:00
placement Remove a TODO that no longer applies 2017-04-18 16:52:25 +01:00
rpc_backend Define a new function for notifications URL 2017-04-25 17:01:21 +02:00
stack Enable optional Python 3 support 2015-12-01 14:52:35 -05:00
swift Merge "Define a new function for notifications URL" 2017-04-25 17:47:35 +00:00
tempest Merge "Add new configuration option for LM+grenade job" 2017-04-18 21:29:16 +00:00
template Begin new lib/neutron 2016-05-09 14:26:08 -04:00
tls Always restart apache 2017-04-26 11:09:59 +10:00