flavor pagination incorrectly uses id rather than flavorid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Mauro S M Rodrigues | ||
Havana |
Fix Released
|
High
|
Gary Kotton |
Bug Description
The "ID" in flavor-list response is really instance_
'''
Traceback (most recent call last):
File "/Volumes/
resp, flavors = self.client.
File "/Volumes/
resp, body = self.get(url)
File "/Volumes/
return self.request('GET', url, headers)
File "/Volumes/
resp, resp_body)
File "/Volumes/
raise exceptions.
NotFound: Object not found
Details: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}
=======
FAIL: tempest.
'''
Really, it should use flavorid for marker. The flavor_get_all() method in nova.db.
- filter_
+ filter_
Changed in nova: | |
assignee: | nobody → Mauro Sergio Martins Rodrigues (maurosr) |
tags: |
added: havana-backport-potential removed: havana-rc-potential |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
tags: | removed: havana-backport-potential in-stable-havana nova |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
The following tests should be fixed as well, to use flavorid with marker: test_flavors. py test_get_ all_flavors_ sorted_ list_marker( ) db/test_ db_api. py test_flavor_ get_all_ list_marker( )
- nova/tests/
- nova/tests/