Bug 1761397

Summary: external gateway connectivity lost when adding external subnets
Product: Red Hat OpenStack Reporter: ffernand <ffernand>
Component: python-networking-ovnAssignee: ffernand <ffernand>
Status: CLOSED WONTFIX QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: apevec, ekuris, lhh, majopela, scohen
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1761389 Environment:
Last Closed: 2019-10-14 11:34:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1761389, 1761400, 1761419    
Bug Blocks:    

Description ffernand 2019-10-14 10:40:48 UTC
+++ 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.

Comment 1 ffernand 2019-10-14 11:34:41 UTC
Not worth fixing in OSP 14, since that is EOL