yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94808
[Bug 2085946] [NEW] [OVN] Revision number registers must be filtered by resource ID and type
Public bug reported:
The OVN revision numbers have a multicolumn index: (resource_uuid,
resource_type) [1]. In particular because of the Neutron ports that
belong to a router. A router interface is a single Neutron register
("ports"). But in OVN two registers are created: "Logical_Switch_Ports"
and "Logical_Router_Ports".
When retrieving a register "ovn_revision_numbers" from the Neutron
database, it is needed to provide both the resource_uuid and the
resource_type [2].
[1]https://github.com/openstack/neutron/blob/febdfb5d8b1cf261c13b40e330d91a5bcb6c7642/neutron/db/models/ovn.py#L41-L46
[2]https://github.com/openstack/neutron/blob/febdfb5d8b1cf261c13b40e330d91a5bcb6c7642/neutron/db/ovn_revision_numbers_db.py#L159-L167
** Affects: neutron
Importance: High
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
** Changed in: neutron
Importance: Undecided => High
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2085946
Title:
[OVN] Revision number registers must be filtered by resource ID and
type
Status in neutron:
New
Bug description:
The OVN revision numbers have a multicolumn index: (resource_uuid,
resource_type) [1]. In particular because of the Neutron ports that
belong to a router. A router interface is a single Neutron register
("ports"). But in OVN two registers are created:
"Logical_Switch_Ports" and "Logical_Router_Ports".
When retrieving a register "ovn_revision_numbers" from the Neutron
database, it is needed to provide both the resource_uuid and the
resource_type [2].
[1]https://github.com/openstack/neutron/blob/febdfb5d8b1cf261c13b40e330d91a5bcb6c7642/neutron/db/models/ovn.py#L41-L46
[2]https://github.com/openstack/neutron/blob/febdfb5d8b1cf261c13b40e330d91a5bcb6c7642/neutron/db/ovn_revision_numbers_db.py#L159-L167
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2085946/+subscriptions
Follow ups