Bug 1221188

Summary: DVR: floating IPs not working if initially associated with non-bound port
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-neutronAssignee: lpeer <lpeer>
Status: CLOSED UPSTREAM QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: amuller, chrisw, nyechiel, tfreger, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 21:05:26 UTC Type: Bug
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:    
Bug Blocks: 1188010    

Description Itzik Brown 2015-05-13 13:03:57 UTC
Description of problem:
There is not connectivity to an external network from an instance when associating a floating IP with pre-created port and launching instance with the port attached.

Version-Release number of selected component (if applicable):
python-neutron-2015.1.0-1.el7ost.noarch
openstack-neutron-2015.1.0-1.el7ost.noarch

How reproducible:

Steps to Reproduce:
1. Create a DVR with internal and external networks

2. Create port associated with the internal network
   # neutron port-create <internal network>

3. Create a floating IP and associate it with the above port
   # neutron floatingip-create <external network>
   # neutron floatingip-associate <floating ip> <port>

4. Launch an instance with the above port attached

5. Verify that the 'fip' namespace is not created on the compute node.
   # ip netns
   # nova boot --flavor <flavor> --image <image-name> --nic port-id=<port> <instance name>

Actual results:
No 'fip' namespace is created 

Expected results:
'fip' namespace should be created and the instance should have connectivity to the external network.

Additional info:

Comment 3 Assaf Muller 2015-10-13 21:05:26 UTC
Fixed upstream in Liberty branch and will be available in OSP 8.