yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38374
[Bug 1494617] [NEW] Different behavior in API and DB when Nova list with limit set to 0
Public bug reported:
According to the code:
http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/common.py#n206
when limit = 0, it should apply as max_limit, but currently, in:
http://git.openstack.org/cgit/openstack/nova/tree/nova/db/sqlalchemy/api.py#n1930
we directly return [], this is quite different with comment in the api
code.
** Affects: nova
Importance: Undecided
Assignee: Zhenyu Zheng (zhengzhenyu)
Status: New
** Changed in: nova
Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1494617
Title:
Different behavior in API and DB when Nova list with limit set to 0
Status in OpenStack Compute (nova):
New
Bug description:
According to the code:
http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/common.py#n206
when limit = 0, it should apply as max_limit, but currently, in:
http://git.openstack.org/cgit/openstack/nova/tree/nova/db/sqlalchemy/api.py#n1930
we directly return [], this is quite different with comment in the api
code.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1494617/+subscriptions
Follow ups