nova/nova/tests
Matt Riedemann 5aadff75c3 Wait for network-vif-plugged before starting live migration
This adds a new config option which is read on the destination host
during pre_live_migration and the value is returned back to the
source host, which can be used to determine, from the source host,
if it should wait for a "network-vif-plugged" event due to VIFs
being plugged on the destination host. This helps us to
avoid the guest transfer at all if vif plugging failed on the dest
host, which we just wouldn't find out until post live migration
and then we have to rollback.

The option is disabled by default for backward compatibility and
also because certain networking backends, like OpenDaylight, are
known to not send network-vif-plugged events unless the port host
binding information changes, which for live migration doesn't happen
until after the guest is transferred to the destination host.

We could arguably avoid the changes to the live migrate data
versioned object and just assume the same networking backend is
used within each cell, but this does allow the deployer to have
the flexibility of live migrating between different network
backends (eventually anyway). The ability to live migrate between
different VIF types is being worked on as part of blueprint
neutron-new-port-binding-api.

Related to blueprint neutron-new-port-binding-api

Change-Id: I0f3ab6604d8b79bdb75cf67571e359cfecc039d8
2018-06-19 18:21:29 -04:00
..
functional Merge "Add full traceback to ExceptionPayload in versioned notifications" 2018-06-19 20:18:32 +00:00
live_migration/hooks Fix live migration grenade ceph setup 2017-10-26 17:53:15 -04:00
unit Wait for network-vif-plugged before starting live migration 2018-06-19 18:21:29 -04:00
__init__.py
fixtures.py Merge "Ignore UserWarning for scope checks during test runs" 2018-06-15 22:46:05 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30