yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81563
[Bug 1862648] [NEW] [OVN] Reduce the number of tables watched by MetadataProxyHandler
Public bug reported:
Currently the MetadataProxyHandler is monitoring more tables than it's
required to [0][1]. Analyzing the code, only the Port_Bindings and
Datapath_Bindings table would be necessary.
The more tables it monitors, the bigger the burden is on OVSDB to keep
all the in-memory replicas updated. In special, the Chassis table can
generate a lot of events due to the agents health check mechanism in the
OVN driver so, not monitoring it could prevent a lot of events from
being set across the fabric.
[0] https://github.com/openstack/neutron/blob/6709cfcdfaf29a696cd83da23d1a30d6d0ae8045/neutron/agent/ovn/metadata/server.py#L59
[1] https://github.com/openstack/neutron/blob/6709cfcdfaf29a696cd83da23d1a30d6d0ae8045/neutron/agent/ovn/metadata/ovsdb.py#L34-L35
** Affects: neutron
Importance: High
Assignee: Lucas Alvares Gomes (lucasagomes)
Status: In Progress
** Tags: ovn
** Changed in: neutron
Importance: Undecided => High
** Changed in: neutron
Assignee: (unassigned) => Lucas Alvares Gomes (lucasagomes)
** 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/1862648
Title:
[OVN] Reduce the number of tables watched by MetadataProxyHandler
Status in neutron:
In Progress
Bug description:
Currently the MetadataProxyHandler is monitoring more tables than it's
required to [0][1]. Analyzing the code, only the Port_Bindings and
Datapath_Bindings table would be necessary.
The more tables it monitors, the bigger the burden is on OVSDB to keep
all the in-memory replicas updated. In special, the Chassis table can
generate a lot of events due to the agents health check mechanism in
the OVN driver so, not monitoring it could prevent a lot of events
from being set across the fabric.
[0] https://github.com/openstack/neutron/blob/6709cfcdfaf29a696cd83da23d1a30d6d0ae8045/neutron/agent/ovn/metadata/server.py#L59
[1] https://github.com/openstack/neutron/blob/6709cfcdfaf29a696cd83da23d1a30d6d0ae8045/neutron/agent/ovn/metadata/ovsdb.py#L34-L35
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1862648/+subscriptions
Follow ups