Documentation for Server status ?

asked 2014-05-01 12:18:04 -0600

Sekhar gravatar image

Some of the Compute API calls return the status of a server ( instance ) for e.g.

{ status: "ACTIVE"}
{status : "SUSPENDED" }

What is the complete list of possible status and where are these documented ?

Sekhar Vajjhala

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-02 02:09:24 -0600

Ranjit gravatar image

updated 2014-05-02 02:15:38 -0600

According to link text , There are vm_states, task_states, and power_states for each VM. See the link for more details.

From code perspective,you can see the below path for respective states. /usr/lib/python2.7/dist-packages/nova/compute/ /usr/lib/python2.7/dist-packages/nova/compute/ /usr/lib/python2.7/dist-packages/nova/compute/

I hope, you are looking for this info.

edit flag offensive delete link more


The links to code and the link text help to some extent. What is still not clear is But there are still some outstanding questions from a API / user perspective; more work is needed here. Example: API call returns four status in JSON representation: status, OS-EXT-STS:vm_state, OS-EXT-STS:power_state, OS-EXT-STS:task_state . While the meaning of vm_state, power_state and task_state can be derived from the link text that you posted, it is not clear what "status" refers to. Is it the same as OS-EXT-STS:vm_state or something else ?

Sekhar gravatar imageSekhar ( 2014-05-06 11:17:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-01 12:18:04 -0600

Seen: 2,481 times

Last updated: May 02 '14