[v3 API] project ID is missing in List group volume response when admin

Bug #1809702 reported by Vishal Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Medium
Mutya Sai Phanindra

Bug Description

As of Cinder API 3.55 project ID is missing in a response of List generic groups even when the API is called by admin role.

[Block storage v3 API] List groups
https://developer.openstack.org/api-ref/block-storage/v3/index.html#list-groups
Issue:
 + Response parameter tables when user list/show/create/update is a missing parameter "tenant_id".

Admin cannot know which project created a generic group.
We need project ID information in a response of GET generic group same as for other resources like volumes.

Note that this blocks horizon admin panel implementation of generic groups.

description: updated
description: updated
description: updated
Akihiro Motoki (amotoki)
summary: - [api-ref][Block storage v3 API] List group volume response missing
+ [v3 API] project ID is missing in List group volume response when
+ admin
description: updated
Changed in cinder:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote :

Since the project_id parameter is stored in the DB while creating the group, I wouldn't consider this as a bug, rather an API response change.
I've proposed the blueprint[1], spec[2] and patch[3] here.

[1] https://blueprints.launchpad.net/cinder/+spec/add-project-id-to-group-response
[2] https://review.openstack.org/#/c/627541
[3] https://review.openstack.org/#/c/627549

Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Medium
status: New → Confirmed
Changed in cinder:
assignee: Rajat Dhasmana (whoami-rajat) → Harshavardhan Metla (harsha24)
assignee: Harshavardhan Metla (harsha24) → nobody
assignee: nobody → Harshavardhan Metla (harsha24)
Changed in cinder:
assignee: Harshavardhan Metla (harsha24) → nobody
Changed in cinder:
assignee: nobody → Mutya Sai Phanindra (phani8179)
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.