** Project changed: openstack-api-site => nova -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1543791
Title: Nova API doc for listing servers is missing metadata filter Status in OpenStack Compute (nova): In Progress Bug description: I am using Nova v2.1 (Liberty). The documentation for listing servers only covers a portion of the supported filter options. I don't know what they all should be but I've found that 'metadata' is one of them. :-) List Servers Doc: http://developer.openstack.org/api-ref- compute-v2.1.html#listServers Here is the filter method for listing servers where you can see the supported filters: https://github.com/openstack/nova/blob/098d4ad487f8431b82d776629f15d13142d42789/nova/compute/api.py#L2027 The query below searches for servers with the metadata "foo=bar", and is URL encoded: curl -X "GET" "http://api.openstacknetsdk.org:8774/v2.1/cae3d055dc5e4828adc4fdfe341168f7/servers/detail?metadata=%7B%22foo%22:%22bar%22%7D" Without the encoding the query looks like this: servers/detail?metadata={"foo":"bar"} I haven't tried any other filters found in that method but they may be ip (fixed_ip) and system_metadata. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1543791/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp