yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14555
[Bug 1322097] [NEW] Stack list pagination is broken
Public bug reported:
This change to pagination doesn't work as intended:
https://review.openstack.org/#/c/66484/
heatclient will always return $limit results when that param is
specified, even if the server only has 1 result.
$ heat stack-list
+--------------------------------------+------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+-----------------+----------------------+
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
+--------------------------------------+------------+-----------------+----------------------+
$ heat stack-list --limit 10
+--------------------------------------+------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+-----------------+----------------------+
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
+--------------------------------------+------------+-----------------+----------------------+
This affects Horizon as well (see screenshot).
** Affects: horizon
Importance: Undecided
Status: New
** Affects: python-heatclient
Importance: Undecided
Status: New
** Attachment added: "stackssssssssss.png"
https://bugs.launchpad.net/bugs/1322097/+attachment/4117433/+files/stackssssssssss.png
** Also affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1322097
Title:
Stack list pagination is broken
Status in OpenStack Dashboard (Horizon):
New
Status in Python client library for heat:
New
Bug description:
This change to pagination doesn't work as intended:
https://review.openstack.org/#/c/66484/
heatclient will always return $limit results when that param is
specified, even if the server only has 1 result.
$ heat stack-list
+--------------------------------------+------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+-----------------+----------------------+
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
+--------------------------------------+------------+-----------------+----------------------+
$ heat stack-list --limit 10
+--------------------------------------+------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+-----------------+----------------------+
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
| 48978291-9303-4d2d-876f-8e4ac359716a | ktest | CREATE_COMPLETE | 2014-05-22T07:44:16Z |
+--------------------------------------+------------+-----------------+----------------------+
This affects Horizon as well (see screenshot).
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1322097/+subscriptions
Follow ups
References