[openstack-dev] [Nova] why don't we deal with "claims" when live migrating an instance?

Clint Byrum clint at fewbar.com
Wed Jan 15 22:34:37 UTC 2014


Hi Chris. Your thread may have gone unnoticed as it lacked the Nova tag.
I've added it to the subject of this reply... that might attract them.  :)

Excerpts from Chris Friesen's message of 2014-01-15 12:32:36 -0800:
> When we create a new instance via _build_instance() or 
> _build_and_run_instance(), in both cases we call instance_claim() to 
> reserve and test for resources.
> 
> During a cold migration I see us calling prep_resize() which calls 
> resize_claim().
> 
> How come we don't need to do something like this when we live migrate an 
> instance?  Do we track the hypervisor overhead somewhere in the instance?
> 
> Chris
> 



More information about the OpenStack-dev mailing list