Ask Your Question
2

Documentation for Server status ?

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

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
0

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

Ranjit gravatar image

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

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/vm_states.py /usr/lib/python2.7/dist-packages/nova/compute/task_states.py /usr/lib/python2.7/dist-packages/nova/compute/power_state.py

I hope, you are looking for this info.

edit flag offensive delete link more

Comments

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 2,170 times

Last updated: May 02 '14