← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456073] [NEW] Connection to an instance with floating IP breaks during block migration when using DVR

 

Public bug reported:

During migration of  an instance, using block migration with a floating IP when the router is DVR the connection to the instance breaks (e.g. Having an SSH connection to the instance).
Reconnect to the instance is 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. SSH into the instance which will be migrated and run a command "while
true; do echo "Hello"; sleep 1; done"

4. Migrate the instance using block migration 
     # nova live-migration --block-migrate <instance id>

5. Verify that the connection to the instance is lost.

** 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/1456073

Title:
  Connection to an instance with floating IP breaks during block
  migration when using DVR

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  During migration of  an instance, using block migration with a floating IP when the router is DVR the connection to the instance breaks (e.g. Having an SSH connection to the instance).
  Reconnect to the instance is 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. SSH into the instance which will be migrated and run a command
  "while true; do echo "Hello"; sleep 1; done"

  4. Migrate the instance using block migration 
       # nova live-migration --block-migrate <instance id>

  5. Verify that the connection to the instance is lost.

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


Follow ups

References