If I pass a server's bookmark link as the href for the list images call using the server filter, no results are returned. If I use the server's self href, the correct response is returned. Based on the API guide, it seems both should work. Here's an example, where http://localhost:8774/servers/86647760-92f9-4db4-97f5-5c92abb770ce is a valid bookmark link to a server used to create an image:
curl -i -H "X-Auth-Token: 8ad370f6-fe8b-441b-af89-0d08f7e3a898" http://localhost:8774/v1.1/dwalleck-project/images?server=http://localhost:8774/servers/86647760-92f9-4db4-97f5-5c92abb770ce
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 14
Date: Fri, 06 Jan 2012 21:18:00 GMT
Connection: close
{"images": []}
Reviewed: https:/ /review. openstack. org/3032 github. com/openstack/ nova/commit/ 6e7e3870a4ca047 185ba5e3320d63a faa08357b8
Committed: http://
Submitter: Jenkins
Branch: master
commit 6e7e3870a4ca047 185ba5e3320d63a faa08357b8
Author: Brian Waldon <email address hidden>
Date: Thu Jan 12 22:50:32 2012 -0800
Increase robustness of image filtering by server
* fix bug 912837
* fix bug 912927
* filter images based on instance_uuid rather than instance_ref
* stop adding instance_ref to snapshot properties
Change-Id: I5eed1611b1e885 553d0c91380e414 e9476dc251c