quota-show should raise exception when non-existent tenant id was given

Bug #1926408 reported by yangyang
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Cinder
New
Low
Unassigned

Bug Description

see this two result for quota-show
cinder quota-show 79e8b25e279c43948241aa0876c512aa
+-----------------------------+-------+
| Property | Value |
+-----------------------------+-------+
| backup_gigabytes | -1 |
| backups | -1 |
| gigabytes | -1 |
| gigabytes___DEFAULT__ | -1 |
| gigabytes_cinder_etc_occupy | -1 |
| gigabytes_rbd1 | -1 |
| gigabytes_rbd_cache | -1 |
| gigabytes_volume_cache | -1 |
| groups | 10 |
| per_volume_gigabytes | -1 |
| snapshots | -1 |
| snapshots___DEFAULT__ | -1 |
| snapshots_cinder_etc_occupy | -1 |
| snapshots_rbd1 | -1 |
| snapshots_rbd_cache | -1 |
| snapshots_volume_cache | -1 |
| volumes | -1 |
| volumes___DEFAULT__ | -1 |
| volumes_cinder_etc_occupy | -1 |
| volumes_rbd1 | -1 |
| volumes_rbd_cache | -1 |
| volumes_volume_cache | -1 |
+-----------------------------+-------+
cinder quota-show 121qwdf212daszxceq3
+-----------------------------+-------+
| Property | Value |
+-----------------------------+-------+
| backup_gigabytes | -1 |
| backups | -1 |
| gigabytes | -1 |
| gigabytes___DEFAULT__ | -1 |
| gigabytes_cinder_etc_occupy | -1 |
| gigabytes_rbd1 | -1 |
| gigabytes_rbd_cache | -1 |
| gigabytes_volume_cache | -1 |
| groups | 10 |
| per_volume_gigabytes | -1 |
| snapshots | -1 |
| snapshots___DEFAULT__ | -1 |
| snapshots_cinder_etc_occupy | -1 |
| snapshots_rbd1 | -1 |
| snapshots_rbd_cache | -1 |
| snapshots_volume_cache | -1 |
| volumes | -1 |
| volumes___DEFAULT__ | -1 |
| volumes_cinder_etc_occupy | -1 |
| volumes_rbd1 | -1 |
| volumes_rbd_cache | -1 |
| volumes_volume_cache | -1 |
+-----------------------------+-------+

the second request has random str "121qwdf212daszxceq3" as PROJECT-ID .but output the same as first one

tags: added: quota
Changed in cinder:
importance: Undecided → Low
tags: added: low-hanging-fruit
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.