neutron/neutron
Rodolfo Alonso Hernandez f315f85a7b Do not fail if the agent load is not bumped
When a new network and its first subnet is created, the DHCP agent
bumps the "load" parameter to reflect the number of networks handled.
This "load" parameter is modified when:
- As commented, when the first subnet of a network is created. The
  "load" value is bumped.
- When periodically the DHCP agent sends the status, informing about
  the current number of networks handled.

If during the subnet creation this "load" value is not updated, it will
be in the next periodic update of the agent.

This "load" value is used by the scheduler to equally distribute the
objects to be managed by any agent type (DHCP agents manage networks).

The bug refers to DHCP but is valid for any other agent.

Conflicts:
      neutron/common/utils.py
      neutron/scheduler/base_resource_filter.py

Change-Id: Ief402048d99d40b64d81fcf58eb2e39b1ba7ebbb
Closes-Bug: #1939432
(cherry picked from commit 668b1cc652)
(cherry picked from commit 816aca60b9)
(cherry picked from commit 1eb6b8926a)
2021-08-30 13:10:01 +00:00
..
agent Merge "Trivial: check if ipv6 is available for IptablesManager" into stable/ussuri 2021-08-23 21:36:06 +00:00
api DHCP notification optimization 2021-04-23 10:02:14 +00:00
cmd Added common config and SR-IOV agent config to sanity check 2021-06-11 14:44:08 +00:00
common Do not fail if the agent load is not bumped 2021-08-30 13:10:01 +00:00
conf Make default hypervisor hostname compatible with libvirt 2021-06-17 13:16:38 +00:00
core_extensions Add "qos_network_policy_id" to port definition 2020-01-17 17:57:11 +00:00
db Set "floatingip.fixed_port" as viewonly 2021-07-19 14:51:52 +00:00
debug Fix neutron debug probe to use integration_bridge 2020-03-31 11:17:47 +00:00
extensions Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
hacking Allow usage of assert_called_once method in unit tests 2020-03-02 14:17:26 +02:00
ipam IPv6 accepts first address only for routers 2020-01-12 20:39:07 +00:00
locale Imported Translations from Zanata 2020-04-26 07:31:19 +00:00
notifiers Add config option ``http_retries`` 2020-07-09 10:11:22 +00:00
objects Remove FIP agent's gw port when L3 agent is deleted 2021-06-24 06:54:15 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
plugins Merge "[ovn]: Create neutron_pg_drop Port Group on init" into stable/ussuri 2021-08-20 23:29:14 +00:00
privileged Delete HA metadata proxy PID and config with elevated privileges 2021-03-03 09:36:06 +01:00
profiling Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
scheduler Do not fail if the agent load is not bumped 2021-08-30 13:10:01 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Improve Subnet create performance 2021-06-23 15:36:10 +00:00
tests Do not fail if the agent load is not bumped 2021-08-30 13:10:01 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Support L3 agent cleanup on shutdown 2019-12-16 17:01:31 -05:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-14 14:02:28 +00:00
policy.py List SG rules which belongs to tenant's SG 2019-11-27 15:45:09 +01:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00