Unable to filter images by server ID, contrary to API spec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Brian Waldon |
Bug Description
Tempest has two test cases that check filtering of images through the Compute API 1.1.
jpipes@
...
The images should contain images filtered by server id ... FAIL
The list of servers should be filtered by server ref ... ok
...
=======
FAIL: The images should contain images filtered by server id
-------
Traceback (most recent call last):
File "/home/
(self.
AssertionError: False is not True : Failed to find image 0075eec2-
According to the documentation here:
http://
It should be possible to supply *either* and server ID *or* a server HREF. However, only a server HREF seems to be supported.
Here are the two test cases in question. The first is filtered by server ID, the second by server HREF. The first fails, the second passes.
@attr(
def test_list_
"""The images should contain images filtered by server id"""
params = {'server': self.server1['id']}
resp, images = self.client.
@attr(
def test_list_
"""The list of servers should be filtered by server ref"""
params = {'server': self.image3[
resp, images = self.client.
Changed in nova: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → essex-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-3 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/3032
Review: https:/