-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display the current task value in the status option #89
Comments
For doing that we need the nova API v2.1 http://developer.openstack.org/api-ref-compute-v2.1.html Especially the end point /v2.1/servers/details that return notably : However we could check that the endpoint exist and if yes display the information. Feature |
Also already available in api v2 extensions http://developer.openstack.org/api-ref-compute-v2-ext.html with endpoint get /v2/{tenant_id}/servers/detail In fact, v2.1 is the same as v2 extensions without xml support and with strong input validation with jsonshema. http://chris.yeoh.info/2014/09/09/nova-v2-1-api/ I will check that. |
I have just tested on my cloud provider the following command : I can confirm that we have the transition task_state in the response So when task_state is not null we can |
So after a > vagrant suspend
then And then : And finally NB: All tasks transition states are defined here https://github.com/openstack/nova/blob/master/nova/compute/task_states.py |
It would be useful to display in the status option, the task value of the instance :
RUNNING
SUSPENDING
RESUMING
SPAWNING
NONE
This feature is interesting especially for transition tasks that take time like SUSPENDING, RESUMING.
The text was updated successfully, but these errors were encountered: