Ask Your Question

Revision history [back]

I hope you are looking for the following

nova resize myinstance 4 --poll

Here nova will upgrade the VM from a small flavor to high flavor. Assume that this instance is running on m1.small with an ID 2. Now we are resizing it to next high flavor which having ID 4. By default, the nova resize command gives the guest operating system a chance to perform a controlled shutdown before the instance is powered off and the instance is resized. The shutdown behavior is configured by the shutdown_timeout parameter that can be set in the nova.conf file. Its value stands for the overall period (in seconds) a guest operation system is allowed to complete the shutdown.