Manila: Drop tenant_id templating from v2 endpoint
Manila's wallaby release [1] made it possible for the v2 endpoint to not include a tenant_id (project_id). This change was made to accommodate interactions by system scoped users. System scoped users cannot interact with an endpoint that needs the "tenant_id" templating, because system scoped tokens cannot be resolved to a particular tenant_id by definition. More information regarding this change is captured in the release notes for the project [2] and the API reference [3]. [1] https://review.opendev.org/c/openstack/manila/+/773709 [2] https://docs.openstack.org/releasenotes/manila/wallaby.html#prelude [3] https://docs.openstack.org/api-ref/shared-file-system/#shared-file-systems-api Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com> Change-Id: I85aec373e86ab587ead389852730bcf833311ae4
This commit is contained in:
parent
e31e8776c2
commit
06cc21a445
@ -6507,45 +6507,42 @@ outputs:
|
||||
- ManilaAdmin
|
||||
- protocol
|
||||
uri:
|
||||
list_join:
|
||||
- ''
|
||||
- - make_url:
|
||||
scheme:
|
||||
make_url:
|
||||
scheme:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaAdmin
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaAdmin
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaAdmin
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaAdmin
|
||||
- port
|
||||
path: /v2/
|
||||
- '%(tenant_id)s'
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaAdmin
|
||||
- port
|
||||
path: /v2
|
||||
uri_no_suffix:
|
||||
make_url:
|
||||
scheme:
|
||||
@ -6638,45 +6635,42 @@ outputs:
|
||||
- ManilaInternal
|
||||
- protocol
|
||||
uri:
|
||||
list_join:
|
||||
- ''
|
||||
- - make_url:
|
||||
scheme:
|
||||
make_url:
|
||||
scheme:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaInternal
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaInternal
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaInternal
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaInternal
|
||||
- port
|
||||
path: /v2/
|
||||
- '%(tenant_id)s'
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- ManilaApiNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaInternal
|
||||
- port
|
||||
path: /v2
|
||||
uri_no_suffix:
|
||||
make_url:
|
||||
scheme:
|
||||
@ -6769,45 +6763,42 @@ outputs:
|
||||
- ManilaPublic
|
||||
- protocol
|
||||
uri:
|
||||
list_join:
|
||||
- ''
|
||||
- - make_url:
|
||||
scheme:
|
||||
make_url:
|
||||
scheme:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaPublic
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaPublic
|
||||
- protocol
|
||||
host:
|
||||
str_replace:
|
||||
template:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaPublic
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- PublicNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- PublicNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaPublic
|
||||
- port
|
||||
path: /v2/
|
||||
- '%(tenant_id)s'
|
||||
- host
|
||||
params:
|
||||
CLOUDNAME:
|
||||
get_param:
|
||||
- CloudEndpoints
|
||||
- get_param:
|
||||
- ServiceNetMap
|
||||
- PublicNetwork
|
||||
IP_ADDRESS:
|
||||
get_param:
|
||||
- NetIpMap
|
||||
- str_replace:
|
||||
params:
|
||||
NETWORK:
|
||||
get_param:
|
||||
- ServiceNetMap
|
||||
- PublicNetwork
|
||||
template: NETWORK_uri
|
||||
port:
|
||||
get_param:
|
||||
- EndpointMap
|
||||
- ManilaPublic
|
||||
- port
|
||||
path: /v2
|
||||
uri_no_suffix:
|
||||
make_url:
|
||||
scheme:
|
||||
|
Loading…
Reference in New Issue
Block a user