Notify nova with network-vif-plugged in case of live migration
- during live migration on pre migration step nova plugs instance
vif device on the destination compute node;
- L2 agent on destination host detects new device and requests device
info from server;
- server does not change port status since port is bound to another
host (source host);
- L2 agent processes device and sends update_device_up to server;
- again server does not update status as port is bound to another host;
Nova notifications are sent only in case port status change so in this case
no notifications are sent.
The fix is to explicitly notify nova if agent reports device up from a host
other than port's current host.
This is the fix on neutron side, the actual fix of the bug is on nova side:
change-id Ib1cb9c2f6eb2f5ce6280c685ae44a691665b4e98
Reviewed: https:/ /review. openstack. org/246898 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b7c303ee0a1 6a05c1fdb476dc7 f4c7ca623a3f58
Committed: https:/
Submitter: Jenkins
Branch: master
commit b7c303ee0a16a05 c1fdb476dc7f4c7 ca623a3f58
Author: Oleg Bondarev <email address hidden>
Date: Wed Nov 18 12:15:09 2015 +0300
Notify nova with network-vif-plugged in case of live migration
- during live migration on pre migration step nova plugs instance
vif device on the destination compute node;
- L2 agent on destination host detects new device and requests device
info from server;
- server does not change port status since port is bound to another
host (source host);
- L2 agent processes device and sends update_device_up to server;
- again server does not update status as port is bound to another host;
Nova notifications are sent only in case port status change so in this case
no notifications are sent.
The fix is to explicitly notify nova if agent reports device up from a host
other than port's current host.
This is the fix on neutron side, the actual fix of the bug is on nova side: ce6280c685ae44a 691665b4e98
change-id Ib1cb9c2f6eb2f5
Closes-Bug: #1414559 2696688af3feadf 8d7fa9e6fc2
Change-Id: Ifa919a9076a3cc