devstack/lib
Clark Boylan 3e8cd1b67d Set apache proxy-initial-not-pooled env var
We've run into what appears to be a race with apache trying to reuse a
pooled connection to a backend when that pool connection is closing.
This leads to errors like:

  [Fri Dec 07 21:44:10.752362 2018] [proxy_http:error] [pid 19073:tid 139654393218816] (20014)Internal error (specific information not available): [client 104.130.127.213:45408] AH01102: error reading status line from remote server 127.0.0.1:60999
  [Fri Dec 07 21:44:10.752405 2018] [proxy:error] [pid 19073:tid 139654393218816] [client 104.130.127.213:45408] AH00898: Error reading from remote server returned by /image/v2/images/ec31a4fd-e22b-4e97-8c6c-1ef330823fc1/file

According to the internets this can be addressed (at the cost of some
performance) by setting the proxy-initial-not-pooled env var for mod
proxy. From the mod_proxy docs:

  If this variable is set, no pooled connection will be reused if the client
  request is the initial request on the frontend connection. This avoids the
  "proxy: error reading status line from remote server" error message caused
  by the race condition that the backend server closed the pooled connection
  after the connection check by the proxy and before data sent by the proxy
  reached the backend. It has to be kept in mind that setting this variable
  downgrades performance, especially with HTTP/1.0 clients.

Closes-Bug: #1807518

Change-Id: I374deddefaa033de858b7bc15f893bf731ad7ff2
(cherry picked from commit e344c97c0e)
2018-12-11 13:48:34 -08:00
..
cinder_backends Replace depricated iscsi_helper with target_helper 2018-03-01 07:38:28 +00:00
cinder_plugins Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
databases Fix running with SERVICE_IP_VERSION=6 2018-03-11 08:53:41 +00:00
neutron_plugins Configure [neutron] in nova_cell*.conf 2018-06-18 16:20:39 -04:00
nova_plugins Modernize VIRT_DRIVER=fake usage 2018-06-02 12:40:58 -04:00
apache Add Fedora 27 support 2018-01-11 16:19:36 +01:00
cinder cinder: configure backup_swift_url in subnodes 2018-07-23 09:25:08 -04:00
database Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
dstat clean up screen and tail_log references 2017-09-01 15:08:17 -04:00
etcd3 Merge "Allow overrides for ETCD ports" 2018-03-11 05:43:44 +00:00
glance Merge "Fix running with SERVICE_IP_VERSION=6" 2018-07-10 06:10:28 +00:00
horizon Use `member` instead of `Member` 2018-06-18 15:54:36 +00:00
infra Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
keystone Set transport_url in proper keystone config section 2018-08-01 18:05:54 +00:00
ldap Fixes devstack ldap plugin 2017-07-10 17:06:16 -03:00
libraries Another openstacksdk rename fix 2018-03-28 13:51:31 -05:00
lvm Remove VGs when cleaning LVM up in devstack 2017-07-12 09:34:52 +00:00
neutron WSGI Neutron integration 2018-07-30 12:30:37 +07:00
neutron-legacy BUG Fix: add sudo to run command arping 2018-08-08 15:09:01 +08:00
nova Merge "Fix running with SERVICE_IP_VERSION=6" 2018-07-10 06:10:28 +00:00
oslo mv lib/oslo to lib/libraries 2017-06-20 14:09:30 -04:00
placement Merge "Init placement before nova" 2018-06-14 12:20:41 +00:00
rpc_backend Add an openSUSE Tumbleweed devstack non-voting check job 2018-03-11 14:04:36 +01:00
stack Ensure valid service names are passed to stack_install_service 2017-08-01 18:22:35 +00:00
swift Merge "Fix running with SERVICE_IP_VERSION=6" 2018-07-10 06:10:28 +00:00
tempest tempest: cap max microversions for compute/volume APIs 2018-10-12 09:27:09 -04:00
template clean up screen and tail_log references 2017-09-01 15:08:17 -04:00
tls Set apache proxy-initial-not-pooled env var 2018-12-11 13:48:34 -08:00