Bug 1921889

Summary: RFE: Remove requirement for project_id in Cinder API paths
Product: Red Hat OpenStack Reporter: Harry Rybacki <hrybacki>
Component: openstack-cinderAssignee: Alan Bishop <abishop>
Status: POST --- QA Contact: Evelina Shames <eshames>
Severity: medium Docs Contact: Andy Stillman <astillma>
Priority: high    
Version: 18.0 (Zed)CC: abishop, brian.rosmaita, dcaspin, gcharot, gouthamr, ltoscano, vimartin
Target Milestone: AlphaKeywords: FutureFeature, Triaged
Target Release: 18.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harry Rybacki 2021-01-28 18:57:59 UTC
Today Cinder's API design assumes that a project_id will be on every request[1]. 

In order to consume system scoped requests, Cinder will need to update its APIs to remove project_id from the path. For example, use: 

    https://cinder.example.com/v3/volumes

instead of: 

    https://cinder.example.com/v3/422c276436a44096bb7cd626ef1813ca/volumes 

where 422c276436a44096bb7cd626ef1813ca is the id of a project in keystone.

[1] - https://docs.openstack.org/api-ref/block-storage/v3/index.html#volumes-volumes