+++ This bug was initially created as a clone of Bug #1761389 +++ Description of problem: If we attach a subnet to that external network afterwards, the northbound database loses that logical port, together with the row in the gateway_chassis table. Version-Release number of selected component (if applicable): OSP13 (all versions) How reproducible: Always Steps to Reproduce: openstack network create public --external --default --provider-network-type vlan --provider-physical-network tenant --provider-segment 1099 openstack router create myrouter EXT_NET_ID=$(openstack network show public -f value -c id) openstack router set --external-gateway $EXT_NET_ID myrouter Actual results: We lose connectivity on all external subnets, because the router logical port is lost Expected results: User should be able to set subnets after creating and attaching external networks to router Additional info: See launchpad for more details on what the sequence of events cause this.
Verified on 15.0-RHEL-8/RHOS_TRUNK-15.0-RHEL-8-20191223.n.1 with python3-networking-ovn-6.0.1-0.20191218220439.deb9efe.el8ost.noarch Verified that router with attached external network does not lose the logical port after adding an external subnet.
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text. If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0709