← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456624] [NEW] DVR Connection to external network lost when associating a floating IP

 

Public bug reported:

Having a distributed router with interfaces for an internal network and
external network.

When Launching a instance and pinging an external network and then associating a floating to the instance the connection is lost i.e.
 the ping fails. 
When running the ping command again - it's successful.

Version
======
RHEL 7.1
python-nova-2015.1.0-3.el7ost.noarch
python-neutron-2015.1.0-1.el7ost.noarch

How to reproduce
==============
1. Create a distributed router and attach an internal and an external network to it.
    # neutron router-create --distributed True router1
    # neutron router-interface-add router1 <subnet1 id>
    # neutron router-gateway-set <external network id>

2. Launch an instance and associate it with a floating IP.
    # nova boot --flavor m1.small --image fedora --nic net-id=<internal network id> vm1

3. Go to the console of the instance and run ping to an external network:
     # ping 8.8.8.8

4.  Associate a floating IP to the instance:
     # nova floating-ip-associate vm1 <floatingip-address>

5. Verify that the ping fails.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1456624

Title:
  DVR Connection to external network lost when associating a floating IP

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Having a distributed router with interfaces for an internal network
  and external network.

  When Launching a instance and pinging an external network and then associating a floating to the instance the connection is lost i.e.
   the ping fails. 
  When running the ping command again - it's successful.

  Version
  ======
  RHEL 7.1
  python-nova-2015.1.0-3.el7ost.noarch
  python-neutron-2015.1.0-1.el7ost.noarch

  How to reproduce
  ==============
  1. Create a distributed router and attach an internal and an external network to it.
      # neutron router-create --distributed True router1
      # neutron router-interface-add router1 <subnet1 id>
      # neutron router-gateway-set <external network id>

  2. Launch an instance and associate it with a floating IP.
      # nova boot --flavor m1.small --image fedora --nic net-id=<internal network id> vm1

  3. Go to the console of the instance and run ping to an external network:
       # ping 8.8.8.8

  4.  Associate a floating IP to the instance:
       # nova floating-ip-associate vm1 <floatingip-address>

  5. Verify that the ping fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1456624/+subscriptions


Follow ups

References