Get volumes REST reply does not have marker when default limit is reached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Steven Kaufer |
Bug Description
Both the /volumes and /volumes/details APIs support pagination. When the request includes the "limit" parameters, then a "next" link is included in the reply if the number of volumes that match the query is greater than or equal to the limit.
The problem occurs when the caller does not include the limit parameter but the total number of volumes is greater than or equal to the default "CONF.osapi_
The fix for this is to include the "next" link when the total number of volumes is greater than or equal to the default limit, even if the "limit" parameter is not supplied.
Changed in cinder: | |
assignee: | nobody → Steven Kaufer (kaufer) |
Changed in cinder: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → icehouse-rc1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/78678
Review: https:/