2018-03-07 03:27:49 |
TommyLike |
description |
Cinderclient will try to query resource by dfferent approaches when query some specific resource, and one of the approach is :
```
http://{host}/volume/v3/61feeebaad1d4e4382c1c764f2033a79/{volumes/snapshot/backups/..}/detail?all_tenants=1
```
Actually "all_tenant" is only available for administrators, so when non-administrator try to show some resource which doesn't exist, cinder will raise error: "BadRequest: Invalid filters all_tenants are found in query options"
It works fine before introducing generic filtering as cinder will ignore the invalid invalid query options and now it raise BadRequest. |
Cinderclient will try to query resource by dfferent approaches when query some specific resource by command "cinder show/snapshot-show/backup-show", and one of the approach is :
```
http://{host}/volume/v3/61feeebaad1d4e4382c1c764f2033a79/{volumes/snapshot/backups/..}/detail?all_tenants=1
```
Actually "all_tenant" is only available for administrators, so when non-administrator try to show some resource which doesn't exist, cinder will raise error: "BadRequest: Invalid filters all_tenants are found in query options"
It works fine before introducing generic filtering as cinder will ignore the invalid invalid query options and now it raise BadRequest. |
|