commit f315f85a7b0ead30877e19988db4e4f80fc960e9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Aug 11 09:13:55 2021 +0000
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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/806571 /opendev. org/openstack/ neutron/ commit/ f315f85a7b0ead3 0877e19988db4e4 f80fc960e9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit f315f85a7b0ead3 0877e19988db4e4 f80fc960e9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Aug 11 09:13:55 2021 +0000
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: Ief402048d99d40 b64d81fcf58eb2e 39b1ba7ebbb 555ef1fc1289684 367159186a) 38863d6974b5a9e 0ee8983424) 442c5af6057c042 999e2645f1)
Closes-Bug: #1939432
(cherry picked from commit 668b1cc652f076e
(cherry picked from commit 816aca60b90b890
(cherry picked from commit 1eb6b8926a7a5ad