yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90264
[Bug 1995974] [NEW] [OVN] Router "router_extra_attributes" register is not created
Public bug reported:
When Neutron uses ML2/OVN mech driver, the router
"router_extra_attributes" register is not created.
With ML2/OVS, this register is created when it is called from:
* l3_dvr_db: to set the "dvr" flag.
* l3_hamode_db: to set the "ha" flag.
* availability_zone/router: to set the "availability_zone_hints" list
Because those methods are registered when the ML2 plugin is called as
resource extenders, every time a router is created those method are
called. Those methods always check if the child register
"router_extra_attributes" is created. If not, it is added to the session
[1].
Some projects, like n-d-r, are expecting those extra attributes in their
queries; for example: [2].
[1]https://github.com/openstack/neutron/blob/9e2a0ac058305dd16d6dedb883d305cd162f5fe4/neutron/db/l3_attrs_db.py#L48-L54
[2]https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/863713
** Affects: neutron
Importance: Medium
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
** Changed in: neutron
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1995974
Title:
[OVN] Router "router_extra_attributes" register is not created
Status in neutron:
New
Bug description:
When Neutron uses ML2/OVN mech driver, the router
"router_extra_attributes" register is not created.
With ML2/OVS, this register is created when it is called from:
* l3_dvr_db: to set the "dvr" flag.
* l3_hamode_db: to set the "ha" flag.
* availability_zone/router: to set the "availability_zone_hints" list
Because those methods are registered when the ML2 plugin is called as
resource extenders, every time a router is created those method are
called. Those methods always check if the child register
"router_extra_attributes" is created. If not, it is added to the
session [1].
Some projects, like n-d-r, are expecting those extra attributes in
their queries; for example: [2].
[1]https://github.com/openstack/neutron/blob/9e2a0ac058305dd16d6dedb883d305cd162f5fe4/neutron/db/l3_attrs_db.py#L48-L54
[2]https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/863713
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1995974/+subscriptions
Follow ups