[nova] track error migrations and orphans in Resource Tracker

Matt Riedemann mriedemos at gmail.com
Wed Nov 13 19:53:27 UTC 2019


On 11/13/2019 1:43 PM, melanie witt wrote:
> This is because the "get instance list by host" can miss instances that 
> are mid-migration, because of how/where we update the instance.host field.

Why not just filter out any instances that have a non-None task_state? 
Or barring that, filter out any instances that have an in-progress 
migration (there is a method that the ResourceTracker uses to get those 
kinds of migrations occurring either as incoming to or outgoing from the 
host).

-- 

Thanks,

Matt



More information about the openstack-discuss mailing list