Comment 0 for bug 1456624

Revision history for this message
Itzik Brown (itzikb1) wrote :

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.