[openstack-dev] nova api list servers by host

Eugene Kirpichov ekirpichov at gmail.com
Tue Sep 25 19:17:38 UTC 2012


JFEI (just for everyone's info), bugreport is here:
https://bugs.launchpad.net/nova/+bug/1055983

On Mon, Sep 24, 2012 at 11:31 PM, Gurjar, Unmesh
<Unmesh.Gurjar at nttdata.com> wrote:
> Josh,
>
> I checked the Nova CLI, it has a 'host'  filter. I just tested this and looks like Nova API is ignoring this parameter ('host'). I will file a bug for this.
>
> FYI:
> Nova CLI command: nova list --host <host-name>
> API URL that gets hit: GET http://<nova-api-ip>:8774/v2/<tenantID>/servers/detail?host=<host-name>
>
> Thanks & Regards,
> Unmesh Gurjar | Lead Engineer | NTT DATA Global Technology Services Private Limited | w. +91.20.6604.1500 x 379 | m. +91.982.324.7631 | unmesh.gurjar at nttdata.com | Learn more at nttdata.com/americas
>
> -----Original Message-----
> From: John Tran [mailto:njhtran at gmail.com]
> Sent: Tuesday, September 25, 2012 11:14 AM
> To: OpenStack Development Mailing List
> Subject: [openstack-dev] nova api list servers by host
>
> Querying the nova api directly, is there a way to filter for "all servers on <hostname>"?  AFAIK it's only possible to parse it (on the
> client end) after retrieving a list of all servers.   Please let me
> know if there's a way to do it on the nova-api server side.
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> ______________________________________________________________________
> Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer



More information about the OpenStack-dev mailing list