volumes.list() returns '404' while volume number greater than osapo_max_limit

Bug #1907017 reported by zhen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
In Progress
Medium
Unassigned

Bug Description

volumes.list() returns '404' while volume number greater than osapo_max_limit:

The problem is consistent with the description in bug 'https://bugs.launchpad.net/python-cinderclient/+bug/1560862',which has been marked as solved, and the relevant commit is https://review.openstack.org/299458.

cinder-api log:
2020-12-03 07:37:05.639 17 INFO eventlet.wsgi.server [req-c4be21fd-b9e9-4790-acd4-e694a5966146 c18a5a05bd8d4261a7f594d58949eaa9 2dad94b12cb140cfb2cf315f262543f7 - default default] 100.101.180.0,100.101.145.6 "GET /v3/2dad94b12cb140cfb2cf315f262543f7http://cinder.openstack.svc.region-rdcenter-intact.myinspurcloud.com/v3/2dad94b12cb140cfb2cf315f262543f7/volumes/detail?all_tenants=True&marker=41857f22-c035-4c98-8efd-80c9f32076b6 HTTP/1.1" status: 404 len: 294 time: 0.1030750

pythonclient log:

2020-12-03 06:16:15.832639 File "/var/lib/openstack/lib/python2.7/site-packages/cinderclient/client.py", line 454, in get
2020-12-03 06:16:15.832648 return self._cs_request(url, 'GET', **kwargs)
2020-12-03 06:16:15.832655 File "/var/lib/openstack/lib/python2.7/site-packages/cinderclient/client.py", line 410, in _cs_request
2020-12-03 06:16:15.832663 resp, body = self.request(url, method, **kwargs)
2020-12-03 06:16:15.832671 File "/var/lib/openstack/lib/python2.7/site-packages/cinderclient/client.py", line 392, in request
2020-12-03 06:16:15.832678 raise exceptions.from_response(resp, body)
2020-12-03 06:16:15.832687 NotFound: The resource could not be found.<br /><br />
2020-12-03 06:16:15.832694
2020-12-03 06:16:15.832701
2020-12-03 06:16:15.832709 (HTTP 404)

client version: python-cinderclient 4.0.2

zhen (zhen001)
description: updated
zhen (zhen001)
description: updated
Changed in python-cinderclient:
status: New → Triaged
importance: Undecided → Medium
tags: added: iterator maxlimit
zhen (zhen001)
Changed in python-cinderclient:
status: Triaged → Confirmed
zhen (zhen001)
Changed in python-cinderclient:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.