[Openstack-operators] nova-manage service list via API

Steve Gordon sgordon at redhat.com
Fri Jul 11 22:14:10 UTC 2014


----- Original Message -----
> From: "Gustavo Randich" <gustavo.randich at gmail.com>
> To: openstack-operators at lists.openstack.org
> 
> HI everybody,
> 
> Seems a simple question but I couldn't find the answer in the API reference.
> 
> Any way to determine a compute node state ( :-) or XXX), same info given by
> 'nova-manage service list' but via API?
> 
> Thanks!
> Gustavo

Status is part of the detail returned by:

/v2/​{tenant_id}​/servers/​{server_id}​ - Gets details for a specified server. 

Note that it returns more descriptive strings (e.g. ACTIVE instead of :-)). See http://developer.openstack.org/api-ref-compute-v2.html for more info.

-- 
Steve Gordon, RHCE
Sr. Technical Product Manager,
Red Hat Enterprise Linux OpenStack Platform



More information about the OpenStack-operators mailing list