No 'next' link provided when GET'ing the maximum number of items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Ruby Loo |
Bug Description
When GET'ing items from a collection with no limit parameter specified the API should get limit value from the configuration file (default is 1000). But when we reach this number the API is not returning a 'next' link to retrieve the next subset of items (in case there's more >= 1000 items registered)
To reproduce:
1- Create 1000 nodes (or chassis or ports)
2 - GET /v1/nodes
Output:
stack@stack-
% Total % Received % Xferd Average Speed Time Time Time Current
100 370k 100 370k 0 0 1224k 0 --:--:-- --:--:-- --:--:-- 1230k
stack@stack-
Changed in ironic: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
summary: |
- No 'next' provided when GET'ing the maximum number of items in the API + No 'next' link provided when GET'ing the maximum number of items |
Changed in ironic: | |
assignee: | Lucas Alvares Gomes (lucasagomes) → nobody |
Changed in ironic: | |
assignee: | nobody → Ruby Loo (rloo) |
Changed in ironic: | |
status: | New → Confirmed |
Changed in ironic: | |
importance: | Undecided → High |
Changed in ironic: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/62743
Review: https:/