← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1967314] [NEW] Migration does not take account of Neutron routed pods

 

Public bug reported:

Description
===========
Nova does not appear to take account of Neutron-defined host aggregates when migrating instances which have interfaces attached to routed provider networks. If the operator does not manually select an appropriate hypervisor to migrate to (within the same pod), the automated selection is likely to choose a host which does not have connectivity to the required VLAN.

I'm not certain to what extent this issue is on the Nova side versus
Neutron, but a solution to avoid accidental migration to inappropriate
hosts in the simplest case would be appreciated.

Steps to reproduce
==================
* Deploy a system which makes use of Neutron routed provider networks, with a single logical network using a separate VLAN/segment per rack (https://docs.openstack.org/neutron/latest/admin/config-routed-networks.html)
* Launch a VM and attach a port to the instance which lives within the above network. It will be allocated an appropriate IP address based upon the segment it has landed in.
* Perform a live migration. Assuming a hypervisor outside of the current segment is selected then connectivity to the network will be lost.

Expected result
===============
Either:
* The live migration would have proceeded, but only to a host within the same rack/segment.
* The live migration would fail as the only available hosts live outside of the current rack/segment.
* The IP address associated with the attached port is changed to reflect the requirements of the rack/segment which the instance has been migrated to.

Actual result
=============
* Where a migration results in the instance moving to a host outside the original rack/segment, connectivity is lost.

Environment
===========
OpenStack Xena release
Libvirt+KVM
Nova f766db261634c8f95f874ba132159f148de9e8bf
Neutron with Linux bridge networking e6953e217c731559724971a371e81d2b6f9837e0

Thanks!

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1967314

Title:
  Migration does not take account of Neutron routed pods

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Nova does not appear to take account of Neutron-defined host aggregates when migrating instances which have interfaces attached to routed provider networks. If the operator does not manually select an appropriate hypervisor to migrate to (within the same pod), the automated selection is likely to choose a host which does not have connectivity to the required VLAN.

  I'm not certain to what extent this issue is on the Nova side versus
  Neutron, but a solution to avoid accidental migration to inappropriate
  hosts in the simplest case would be appreciated.

  Steps to reproduce
  ==================
  * Deploy a system which makes use of Neutron routed provider networks, with a single logical network using a separate VLAN/segment per rack (https://docs.openstack.org/neutron/latest/admin/config-routed-networks.html)
  * Launch a VM and attach a port to the instance which lives within the above network. It will be allocated an appropriate IP address based upon the segment it has landed in.
  * Perform a live migration. Assuming a hypervisor outside of the current segment is selected then connectivity to the network will be lost.

  Expected result
  ===============
  Either:
  * The live migration would have proceeded, but only to a host within the same rack/segment.
  * The live migration would fail as the only available hosts live outside of the current rack/segment.
  * The IP address associated with the attached port is changed to reflect the requirements of the rack/segment which the instance has been migrated to.

  Actual result
  =============
  * Where a migration results in the instance moving to a host outside the original rack/segment, connectivity is lost.

  Environment
  ===========
  OpenStack Xena release
  Libvirt+KVM
  Nova f766db261634c8f95f874ba132159f148de9e8bf
  Neutron with Linux bridge networking e6953e217c731559724971a371e81d2b6f9837e0

  Thanks!

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



Follow ups