docs/doc/source/system_configuration/adding-configuration-rpc-response-max-timeout-in-neutron-conf.rst
Drake Finlay 54ec38e256 Adding System Config Guide
Incorporated patchset 8 review comments from Mary C.

Conditionalized vendor-specific terms and converted code-block to
parsed-literal as required
Reformatted bulleted lists to definition lists
Implemented abbreviation substitutions
Deleted duplicate content
Some minor edits for clarity
Merged new abbreviation definitions in strings.txt

Responding to Patch 5 comments.

Change-Id: If6dd7c4cb802036445cb65853d8de7652df351c0
Signed-off-by: Stone <ronald.stone@windriver.com>
2020-12-21 13:28:54 -05:00

54 lines
1.9 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. gkr1591372948568
.. _adding-configuration-rpc-response-max-timeout-in-neutron-conf:
========================================================
Add Configuration rpc\_response\_max\_timeout in Neutron
========================================================
You can add the rpc\_response\_max\_timeout to Neutron using Helm
overrides.
.. rubric:: |context|
Maximum rpc timeout is now configurable by rpc\_response\_max\_timeout from
Neutron config instead of being calculated as 10 \* rpc\_response\_timeout.
This configuration can be used to change the maximum rpc timeout. If the
maximum rpc timeout is too big, some requests which should fail will be held
for a long time before the server returns failure. If this value is too small
and the server is very busy, the requests may need more time than maximum rpc
timeout and the requests will fail though they can succeed with a bigger
maximum rpc timeout.
.. rubric:: |proc|
1. Create a yaml file to add configuration rpc\_response\_max\_timeout in
Neutron.
.. code-block:: none
~(keystone_admin)]$ cat > neutron-overrides.yaml <<EOF
conf:
neutron:
DEFAULT:
rpc_response_max_timeout: 600
EOF
2. Update the neutron overrides and apply to |prefix|-openstack.
.. parsed-literal::
~(keystone_admin)]$ system helm-override-update |prefix|-openstack neutron openstack --values neutron-overrides.yaml
~(keystone_admin)]$ system application-apply |prefix|-openstack
3. Verify that configuration rpc\_response\_max\_time has been added in
Neutron.
.. code-block:: none
$ kubectl get pod -n openstack | grep neutron
$ kubectl get pod -n openstack | grep neutron-server
$ kubectl exec <neutron-server-id> -n openstack cat /etc/neutron/neutron.conf | grep rpc_response_max_timeout
rpc_response_max_timeout = 600
$ cat /etc/neutron/neutron.conf | grep rpc_response_max_timeout