← Back to team overview

openstack team mailing list archive

nova: instance states and commands

 

Hello,



I’m playing with nova CLI and I found that there are several commands for
managing the current state of instances running in the cloud.



These are the states I found:



   - ·         initial
   - ·         build
   - ·         active
   - ·         shutoff
   - ·         suspended
   - ·         rescue
   - ·         paused
   - ·         reboot



And these are the nova commands for changing the current state:



   - ·         boot
   - ·         pause
   - ·         reboot
   - ·         rescue
   - ·         resume
   - ·         start
   - ·         stop
   - ·         suspend
   - ·         unpause
   - ·         unrescue



QUESTION: Is there any explanation on the meaning of the states? In
particular, what’s the difference between SUSPENDED, PAUSED and RESCUE?



Another command changes the status and, from what I found, it always
changes that to ERROR.

The command is “nova reset-state”.



QUESTION: what’s the semantics of this command?





Then, I found some other commands that sound like status management command
but, actually they are not:



   - ·         Lock
   - ·         Unlock



QUESTION: What’s the meaning of these?





*Marco.*

Follow ups