commit 668b1cc652f076e555ef1fc1289684367159186a
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/ +/804218 /opendev. org/openstack/ neutron/ commit/ 668b1cc652f076e 555ef1fc1289684 367159186a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 668b1cc652f076e 555ef1fc1289684 367159186a
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.
Change-Id: Ief402048d99d40 b64d81fcf58eb2e 39b1ba7ebbb
Closes-Bug: #1939432