neutron/neutron/conf
Lewis Denny 94cf7a4c28 Add max limit to agent_down_time
The agent_down_time ends up being passed to an eventlet green-thread;
under the hood, this uses a CPython C-types interface with a limitation
of (2^32 / 2 - 1) INT_MAX (as defined in C) where int is usually 32 bits

I have set the max value to (2^32 / 2 - 1)/1000 as agent_down_time
configured in seconds, this ends up being 2147483.

This patch is required as passing a larger number
causes this error: OverflowError: timeout is too large

If a user currently has a value larger than (2^32 / 2 - 1)/1000 set,
Neutron Server will fail to start and will print out a very helpful
error message.

Conflicts:
      neutron/conf/agent/database/agents_db.py

Closes-Bug: #2028724
Change-Id: Ib5b943344cddbd468c00768461ba1ee00a2b4c58
(cherry picked from commit 6fef1e6525)
2024-01-11 12:16:10 -05:00
..
agent Add max limit to agent_down_time 2024-01-11 12:16:10 -05:00
db [Server Side] L3 router support ndp proxy 2022-02-03 10:07:46 +08:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
plugins Deprecate allow_stateless_action_supported config option 2023-02-09 13:48:25 +00:00
policies [S-RBAC] Fix policies for CUD subnets APIs 2023-06-22 14:35:41 +02:00
services Deprecate [designate] admin_* parameters 2021-05-11 12:08:42 +09:00
__init__.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
common.py Script to remove duplicated port bindings 2022-08-18 08:13:56 +00:00
experimental.py Implement experimental features framework 2022-06-30 17:59:49 -05:00
profiling.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota.py [quota] Enable ``DbQuotaDriverNull`` as a production driver 2022-04-05 10:10:46 +00:00
service.py Add a method to retrieve and register "rpc_workers" config knob 2023-02-08 11:48:48 +01:00
wsgi.py Refactoring config options for wsgi opts 2016-08-03 19:49:58 +00:00