Fix duplicate ID warning during doc build

Both the neutron.base.agent and neutron.l3.agent
option templates contain RPC_EXTRA_OPTS, leading to
a warning during doc builds:

doc/source/configuration/l3-agent.rst:3:
 WARNING: Duplicate ID: "DEFAULT.rpc_response_max_timeout".

It also leads to the rpc_response_max_timeout option
showing up twice in the resultant l3-agent.ini sample
file. For example, when running 'tox -e genconfig'.

Remove it from the list of l3-agent specific options as
it's unnecessary.

Trivial-fix

Change-Id: I70e626dbf9de4bd43952836f8c4d01a693ddac7f
This commit is contained in:
Brian Haley 2020-02-04 12:13:14 -05:00
parent f73f39f2cf
commit d027a9bc77

View File

@ -214,7 +214,6 @@ def list_l3_agent_opts():
itertools.chain(
neutron.conf.agent.l3.config.OPTS,
neutron.conf.service.SERVICE_OPTS,
neutron.conf.service.RPC_EXTRA_OPTS,
neutron.conf.agent.l3.ha.OPTS,
neutron.conf.agent.common.PD_DRIVER_OPTS,
neutron.conf.agent.common.RA_OPTS)