Cinder volumes list issue when filter was used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Feilong Wang |
Bug Description
Issue #1
The param 'offset' is not supported.
Once the offset parameters was used, then the volume list will get a null output.
Issue #2
I found the integer checking for 'limit' and 'offset' should before the database query instead of the checking
during database query.
These issues were found during my V2 API test.
And for the v1 API, these issue was exist too.
I wondering if these issues will port to v1 API?
Recreate these issues.
===
http://
{
"volumes": [
{
{
},
{
}
],
"id": "1acd7455-
"size": 1,
"name": "zhgongvolume1",
},
{
{
},
{
}
],
"id": "f14035f1-
"size": 1,
"name": "test",
}
]
}
http://
{
"volumes": []
}
===
Changed in cinder: | |
assignee: | nobody → Fei Long Wang (flwang) |
Changed in cinder: | |
importance: | Undecided → Critical |
importance: | Critical → High |
milestone: | none → grizzly-rc2 |
Changed in cinder: | |
milestone: | grizzly-rc2 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/24408
Review: https:/