kolla-ansible/ansible/roles/zun/templates
Doug Szumski 647ff667e6 Add variable for changing Apache HTTP timeout
In services which use the Apache HTTP server to service HTTP requests,
there exists a TimeOut directive [1] which defaults to 60 seconds. APIs
which come under heavy load, such as Cinder, can sometimes exceed this
which results in a HTTP 504 Gateway timeout, or similar. However, the
request can still be serviced without error. For example, if Nova calls
the Cinder API to detach a volume, and this operation takes longer
than the shortest of the two timeouts, Nova will emit a stack trace
with a 504 Gateway timeout. At some time later, the request to detach
the volume will succeed. The Nova and Cinder DBs then become
out-of-sync with each other, and frequently DB surgery is required.

Although strictly this category of bugs should be fixed in OpenStack
services, it is not realistic to expect this to happen in the short
term. Therefore, this change makes it easier to set the Apache HTTP
timeout via a new variable.

An example of a related bug is here:

https://bugs.launchpad.net/nova/+bug/1888665

Whilst this timeout can currently be set by overriding the WSGI
config for individual services, this change makes it much easier.

Change-Id: Ie452516655cbd40d63bdad3635fd66693e40ce34
Closes-Bug: #1917648
2021-03-04 11:25:06 +00:00
..
wsgi-zun.conf.j2 Add variable for changing Apache HTTP timeout 2021-03-04 11:25:06 +00:00
zun-api.json.j2 Change the owner of the wsgi-zun.conf to zun 2018-09-12 08:05:22 +00:00
zun-cni-daemon.json.j2 Zun: Add zun-cni-daemon to compute node 2020-04-30 02:22:20 +00:00
zun-compute.json.j2 Support policy.yaml file [part 7] 2018-01-29 02:51:40 +00:00
zun-wsproxy.json.j2 Add zun-wsproxy into kolla-ansible 2018-06-27 15:18:49 +00:00
zun.conf.j2 Merge "Support TLS encryption of RabbitMQ client-server traffic" 2020-09-29 11:31:03 +00:00