commit c0a36d917794fed77e75ba9ed853c01a77b540bd
Author: Sean Mooney <email address hidden>
Date: Wed Dec 16 13:12:13 2020 +0000
only wait for plugtime events in pre-live-migration
This change modifies _get_neutron_events_for_live_migration
to filter the event to just the subset that will be sent
at plug-time.
Currently neuton has a bug where by the dhcp agent
send a network-vif-plugged event during live migration after
we update the port profile with "migrating-to:"
this cause a network-vif-plugged event to be sent for
configuration where vif_plugging in nova/os-vif is a noop.
when that is corrected the current logic in nova cause the migration
to time out as its waiting for an event that will never arrive.
This change filters the set of events we wait for to just the plug
time events.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /770844 /opendev. org/openstack/ nova/commit/ c0a36d917794fed 77e75ba9ed853c0 1a77b540bd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit c0a36d917794fed 77e75ba9ed853c0 1a77b540bd
Author: Sean Mooney <email address hidden>
Date: Wed Dec 16 13:12:13 2020 +0000
only wait for plugtime events in pre-live-migration
This change modifies _get_neutron_ events_ for_live_ migration
to filter the event to just the subset that will be sent
at plug-time.
Currently neuton has a bug where by the dhcp agent
send a network-vif-plugged event during live migration after
we update the port profile with "migrating-to:"
this cause a network-vif-plugged event to be sent for
configuration where vif_plugging in nova/os-vif is a noop.
when that is corrected the current logic in nova cause the migration
to time out as its waiting for an event that will never arrive.
This change filters the set of events we wait for to just the plug
time events.
Conflicts:
nova/compute/ manager. py
nova/tests/ unit/compute/ test_compute_ mgr.py
Related-Bug: #1815989 00d2b07b847c4e5 568599b0d3b 158b23c2a2d52f8 19ebb4c60e) 9f290217c935115 7b1ebf0adb) 206e08c97543e80 cb613b3f0b)
Closes-Bug: #1901707
Change-Id: Id2d8d72d300752
(cherry picked from commit 8b33ac064456482
(cherry picked from commit ef348c4eb337918
(cherry picked from commit d9c833d5a404dfa