Cinder API v2: List Snapshots Details can not use search options like "offset" and "limit" as admin user
Bug #1205956 reported by
wanghao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Xiaoxi Chen | ||
Grizzly |
Fix Released
|
Low
|
wanghao |
Bug Description
hi, all:
when list snapshot details in cinder by using admin user, the "limit" or "offset" search options do not work. my request url like
this : "http://
I think there is something wrong in process of listing snapshot details.
Changed in cinder: | |
assignee: | nobody → wanghao (wanghao749) |
description: | updated |
summary: |
- Cinder:List Snapshot Details can not use search options like "offset" - and "limit" by using admin user + List Volumes/Snapshots Details can not use search options like "offset" + and "limit" as admin user |
summary: |
- List Volumes/Snapshots Details can not use search options like "offset" - and "limit" as admin user + Cinder API v2: List Snapshots Details can not use search options like + "offset" and "limit" as admin user |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
Changed in cinder: | |
milestone: | havana-3 → 2013.2 |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Changed in cinder: | |
importance: | Undecided → Low |
To post a comment you must log in.
This is simply because in api/v2/ snapshots. py, it doesn't pop out limit and offset from GET param before use it as filter /github. com/openstack/ cinder/ blob/master/ cinder/ api/v2/ snapshots. py#L143
refer to:
https:/