commit 6865f4d9f22d5daa2f07ff9651c2280aed489c8c
Author: Andreas Scheuring <email address hidden>
Date: Mon Aug 29 17:08:34 2016 +0200
macvtap: Mech driver detects invalid migration
As of today, Macvtap agent allows invalid live migrations
from a host with interface mapping 'physnet1:eth1' to a host
with mapping 'physnet1:eth2'. Migration places the macvtap on
the target on 'eth2' instead of 'eth1'. This fix detects
such a migration in the mech driver and lets the portbinding fail.
Nova will put the instance in error state. The instance might
still be able to access the wrong network it migrated to, as
today there is no communication to the agent after a failed binding
after a migration. But at least the user is now aware that
something went wrong.
Reviewed: https:/ /review. openstack. org/361301 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6865f4d9f22 d5daa2f07ff9651 c2280aed489c8c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6865f4d9f22d5da a2f07ff9651c228 0aed489c8c
Author: Andreas Scheuring <email address hidden>
Date: Mon Aug 29 17:08:34 2016 +0200
macvtap: Mech driver detects invalid migration
As of today, Macvtap agent allows invalid live migrations
from a host with interface mapping 'physnet1:eth1' to a host
with mapping 'physnet1:eth2'. Migration places the macvtap on
the target on 'eth2' instead of 'eth1'. This fix detects
such a migration in the mech driver and lets the portbinding fail.
Nova will put the instance in error state. The instance might
still be able to access the wrong network it migrated to, as
today there is no communication to the agent after a failed binding
after a migration. But at least the user is now aware that
something went wrong.
Change-Id: I92cd6411fe8848 3b921c92f219afa 8e846cc0137 f4d1f1d26c2a368 a5ca7c6ab68
Depends-On: Ib1cc44bf9d01ba
Partial-Bug: #1550400