Network id info missing in Logical Router Port

Bug #1855328 reported by Flavio Fernandes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Flavio Fernandes

Bug Description

For applications like Octavia, it is necessary to know the network associated to a
given logical router port. Such information can be easily provided via the LRP's
external_ids column.

Note that this is already done in Stein and newer releases; so this issue is only
applicable to Rocky and [stopping at] Queens.

See: https://review.opendev.org/#/c/672645/

Revision history for this message
Flavio Fernandes (ffernand) wrote :
Changed in networking-ovn:
assignee: nobody → Flavio Fernandes (ffernand)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/697558

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/697559

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/queens)

Reviewed: https://review.opendev.org/697559
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=eef8fa3933b46c7c0cfe40539c5f1d12db14139f
Submitter: Zuul
Branch: stable/queens

commit eef8fa3933b46c7c0cfe40539c5f1d12db14139f
Author: Flavio Fernandes <email address hidden>
Date: Thu Dec 5 14:43:27 2019 -0500

    Add Neutron network id to OVN LRPs

    This patch is adding an external_id to the Logical_Router_Port
    rows including the Neutron network ID.

    The reason for this is that if we consume Octavia from Stein+ in
    Rocky/Queens, this external id is missing and the OVN Octavia
    driver (octavia_api) will not be able to apply the Load Balancers
    to all the Logical Switches and Logical Routers where needed.

    Note: This is a partial cherry-pick from
    https://review.opendev.org/#/c/668397/ since Octavia itself
    does not exist in stable/queens but can be made to work
    with neutron's stable/queens.

    Change-Id: I4a0614afda8d2c2b8ccbb2583bc339a232fc802e
    Co-Authored-By: Daniel Alvarez <email address hidden>
    Closes-Bug: #1855328
    Related-Bug: #1794260
    (cherry picked from commit aa4268a09470aea28f4a8c9f1062f32f057cb151)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/rocky)

Reviewed: https://review.opendev.org/697558
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=5fae8f68a033d66838fbecec3796e37d0ccdd60d
Submitter: Zuul
Branch: stable/rocky

commit 5fae8f68a033d66838fbecec3796e37d0ccdd60d
Author: Flavio Fernandes <email address hidden>
Date: Thu Dec 5 14:43:27 2019 -0500

    Add Neutron network id to OVN LRPs

    This patch is adding an external_id to the Logical_Router_Port
    rows including the Neutron network ID.

    The reason for this is that if we consume Octavia from Stein+ in
    Rocky/Queens, this external id is missing and the OVN Octavia
    driver (octavia_api) will not be able to apply the Load Balancers
    to all the Logical Switches and Logical Routers where needed.

    Note: This is a partial cherry-pick from
    https://review.opendev.org/#/c/668397/ since Octavia itself
    does not exist in stable/rocky but can be made to work
    with neutron's stable/rocky.

    Change-Id: I4a0614afda8d2c2b8ccbb2583bc339a232fc802e
    Co-Authored-By: Daniel Alvarez <email address hidden>
    Closes-Bug: #1855328
    Related-Bug: #1794260
    (cherry picked from commit aa4268a09470aea28f4a8c9f1062f32f057cb151)

tags: added: in-stable-rocky
Revision history for this message
liaowenqi (liaowenqi) wrote :

networking-ovn's octavia api,how get octavia-api DB use python code?

Revision history for this message
Flavio Fernandes (ffernand) wrote :
Changed in networking-ovn:
status: In Progress → Fix Committed
Changed in networking-ovn:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 5.1.0

This issue was fixed in the openstack/networking-ovn 5.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn queens-eol

This issue was fixed in the openstack/networking-ovn queens-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.