cannot show volumes with name for non-admins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Rajat Dhasmana |
Bug Description
Starting with microversion 3.31, the filters does not reject all_tenants for non-admins as done before resulting in failing to show volumes with name
MV < 3.31 works
stack@ubuntu200
+------
| Property | Value |
+------
| attached_servers | [] |
| attachment_ids | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2021-03-
| description | None |
| encrypted | False |
| id | d276939c-
| metadata | |
| multiattach | False |
| name | v1 |
| os-vol-
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| updated_at | 2021-03-
| user_id | b91a2ca23437473
| volume_type | ceph |
+------
MV >=3.31 fails
stack@ubuntu200
ERROR: No volume with a name or ID of 'v1' exists.
Changed in cinder: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in cinder: | |
status: | In Progress → Fix Committed |
milestone: | none → 19.0.0 |
tags: | added: admin cli volume |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
review: https:/ /review. opendev. org/c/openstack /cinder/ +/778373