networking-ovn doesn't add IPv6 static route when external gateway is added to a router

Bug #1808753 reported by Numan Siddique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
High
Unassigned

Bug Description

Networking-ovn should add a row in Logical_Router_Static_Route with the default ip as "::/0" and next hop as the IPv6 gateway ip when an external network is added to the router and the external network has an IPv6 subnet.

Without this, the N/S routing will not work if the VM wants to send a N/S packet with the ipv6 destination ip other than the IPv6 public subnet

Changed in networking-ovn:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/625554
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=ed5f25bb37de68688930d80dae7eb0cf447de70c
Submitter: Zuul
Branch: master

commit ed5f25bb37de68688930d80dae7eb0cf447de70c
Author: Daniel Alvarez <email address hidden>
Date: Mon Dec 17 12:10:58 2018 +0100

    Add IPv6 default route to OVN Logical Router

    Prior to this patch, only IPv4 subnets were accounted to install
    static routes on Logical Routers when setting a external gateway.
    This is a problem if the public network has an IPv6 subnet as
    instances won't get a default route.

    Change-Id: I1cb4cd3dd2bf3be1e0beb4f2cc89a89fcf803f70
    Closes-Bug: #1808753
    Signed-off-by: Daniel Alvarez <email address hidden>

Changed in networking-ovn:
status: New → Fix Released
tags: added: networking-ovn-proactive-backport-potential
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.openstack.org/637570

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.openstack.org/638439

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

Reviewed: https://review.openstack.org/637570
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=1c8da1eb83ee9943a965dabbb47be0f355709060
Submitter: Zuul
Branch: stable/rocky

commit 1c8da1eb83ee9943a965dabbb47be0f355709060
Author: Daniel Alvarez <email address hidden>
Date: Mon Dec 17 12:10:58 2018 +0100

    Add IPv6 default route to OVN Logical Router

    Prior to this patch, only IPv4 subnets were accounted to install
    static routes on Logical Routers when setting a external gateway.
    This is a problem if the public network has an IPv6 subnet as
    instances won't get a default route.

    Change-Id: I1cb4cd3dd2bf3be1e0beb4f2cc89a89fcf803f70
    Closes-Bug: #1808753
    Signed-off-by: Daniel Alvarez <email address hidden>
    (cherry picked from commit ed5f25bb37de68688930d80dae7eb0cf447de70c)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 6.0.0.0b1

This issue was fixed in the openstack/networking-ovn 6.0.0.0b1 development milestone.

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

Reviewed: https://review.openstack.org/638439
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=18491afa472f9c52ac2c813ec1f00a3a3362a8b9
Submitter: Zuul
Branch: stable/queens

commit 18491afa472f9c52ac2c813ec1f00a3a3362a8b9
Author: Daniel Alvarez <email address hidden>
Date: Mon Dec 17 12:10:58 2018 +0100

    Add IPv6 default route to OVN Logical Router

    Prior to this patch, only IPv4 subnets were accounted to install
    static routes on Logical Routers when setting a external gateway.
    This is a problem if the public network has an IPv6 subnet as
    instances won't get a default route.

    Change-Id: I1cb4cd3dd2bf3be1e0beb4f2cc89a89fcf803f70
    Closes-Bug: #1808753
    Signed-off-by: Daniel Alvarez <email address hidden>
    (cherry picked from commit 1c8da1eb83ee9943a965dabbb47be0f355709060)

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

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

tags: removed: networking-ovn-proactive-backport-potential
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.

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.