yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82962
[Bug 1883554] [NEW] [ovn] Agent liveness checks create too many writes into OVN db
Public bug reported:
Every time the agent liveness check is triggered (via API or periodically every agent_down_time / 2 seconds), there are a lot of writes into the SB database on the Chassis table.
These writes triggers recomputation on ovn-controller running in all nodes having a considerable performance hit, especially under stress.
After this commit was merged [0] we avoided bumping nb_cfg too frequently but still we're performing writes into the Chassis table to often, from all the workers.
We should use the same logic in [1] to avoid writes that have happened
recently.
[0] https://opendev.org/openstack/neutron/commit/647b7f63f9dafedfa9fb6e09e3d92d66fb512f0b
[1] https://github.com/openstack/neutron/blob/4de18104ae88a835544cefbf30c878aa49efc31f/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#L1075
** Affects: neutron
Importance: Undecided
Status: New
** Tags: ovn
** Tags added: ovn
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1883554
Title:
[ovn] Agent liveness checks create too many writes into OVN db
Status in neutron:
New
Bug description:
Every time the agent liveness check is triggered (via API or periodically every agent_down_time / 2 seconds), there are a lot of writes into the SB database on the Chassis table.
These writes triggers recomputation on ovn-controller running in all nodes having a considerable performance hit, especially under stress.
After this commit was merged [0] we avoided bumping nb_cfg too frequently but still we're performing writes into the Chassis table to often, from all the workers.
We should use the same logic in [1] to avoid writes that have happened
recently.
[0] https://opendev.org/openstack/neutron/commit/647b7f63f9dafedfa9fb6e09e3d92d66fb512f0b
[1] https://github.com/openstack/neutron/blob/4de18104ae88a835544cefbf30c878aa49efc31f/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#L1075
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1883554/+subscriptions
Follow ups