Public bug reported: Force to evacuate ACTIVE status instances to another host(a host is provided),we can find an error 'Timeout waiting for vif plugging callback' on nova-compute log.
In nova-api log,we can find network-vif-plugged event send to source compute,because nova-compute use NopClaim,not create MigrationContext,so not send this event to dest compute in function nova.compute.api._get_relevant_hosts(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L4241). In https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L2723, using function NopClaim when the value of scheduled_node is None while forcing evacuate ACTIVE instances to another host.(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L4113) I think this is a bug. ** Affects: nova Importance: Undecided Status: New ** Summary changed: - Force evacuate instances failed if a host is provided + Force to evacuate ACTIVE status instances failed if a host is provided -- 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/1686041 Title: Force to evacuate ACTIVE status instances failed if a host is provided Status in OpenStack Compute (nova): New Bug description: Force to evacuate ACTIVE status instances to another host(a host is provided),we can find an error 'Timeout waiting for vif plugging callback' on nova-compute log. In nova-api log,we can find network-vif-plugged event send to source compute,because nova-compute use NopClaim,not create MigrationContext,so not send this event to dest compute in function nova.compute.api._get_relevant_hosts(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L4241). In https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L2723, using function NopClaim when the value of scheduled_node is None while forcing evacuate ACTIVE instances to another host.(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L4113) I think this is a bug. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1686041/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

