Re: [Openstack] Instance blocked when migrate between host.
Hi Julie Thank you very much. I found nothing about these two command, and I am appreciate for adding some help information in `nova help migrate`. On Mon, Jan 21, 2013 at 5:28 PM, Julie Pichon wrote: > Hi Lei, > > "Lei Zhang" 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 > -- Lei Zhang Blog: http://jeffrey4l.github.com twitter/weibo: @jeffrey4l ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Instance blocked when migrate between host.
Hi Lei, "Lei Zhang" 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 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Instance blocked when migrate between host.
Hi Wolfgang, Actually, there is a better way. ``` nova reset-state --active ``` But I still doubt there is some bug here. The `instance-0001_resize` folder is never deleted. On Mon, Jan 21, 2013 at 5:12 PM, Wolfgang Hennerbichler < wolfgang.hennerbich...@risc-software.at> wrote: > Hi, > > same issue here, after changing the flavor. never returned to normal, > had to go into mysql once again. > > On 01/21/2013 10:08 AM, Lei Zhang wrote: > > Hi all, > > > > 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? > > > > -- > > Lei Zhang > > > > Blog: http://jeffrey4l.github.com > > twitter/weibo: @jeffrey4l > > > > > > ___ > > Mailing list: https://launchpad.net/~openstack > > Post to : openstack@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~openstack > > More help : https://help.launchpad.net/ListHelp > > > > > -- > DI (FH) Wolfgang Hennerbichler > Software Development > Unit Advanced Computing Technologies > RISC Software GmbH > A company of the Johannes Kepler University Linz > > IT-Center > Softwarepark 35 > 4232 Hagenberg > Austria > > Phone: +43 7236 3343 245 > Fax: +43 7236 3343 250 > wolfgang.hennerbich...@risc-software.at > http://www.risc-software.at > > ___ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > -- Lei Zhang Blog: http://jeffrey4l.github.com twitter/weibo: @jeffrey4l ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Instance blocked when migrate between host.
Hi, same issue here, after changing the flavor. never returned to normal, had to go into mysql once again. On 01/21/2013 10:08 AM, Lei Zhang wrote: > Hi all, > > 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? > > -- > Lei Zhang > > Blog: http://jeffrey4l.github.com > twitter/weibo: @jeffrey4l > > > ___ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > -- DI (FH) Wolfgang Hennerbichler Software Development Unit Advanced Computing Technologies RISC Software GmbH A company of the Johannes Kepler University Linz IT-Center Softwarepark 35 4232 Hagenberg Austria Phone: +43 7236 3343 245 Fax: +43 7236 3343 250 wolfgang.hennerbich...@risc-software.at http://www.risc-software.at ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp