← Back to team overview

openstack team mailing list archive

Re: Instance blocked when migrate between host.

 

Hi Lei,

"Lei Zhang" <zhang.lei.fly@xxxxxxxxx> wrote:
> Today, I am testing the openstack migrate function. ( not live
> migration)
> After run the command `nova migrate`, the status of the instance
> became
> `Verify Resize` and never changed itself. Event though I found this
> instance has been started on another instance.
> 
> If is this a bug? Or I forgot something to configure?

Migrate is a 2-steps process: once the instance reaches the VERIFY_RESIZE stage, you need to run nova resize-confirm if you're happy with the new instance (this will delete the old one), or nova resize-revert if you want to go back to the old instance (this will delete the new one). Migrate and resize use the same mechanism, hence the naming of these 2 commands.

There probably should be something to indicate this in the 'nova help migrate' command, since this is something many people seem to get caught in when first running migrate - myself included.

Regards,

Julie


Follow ups

References