Remove project_id from nova service urls
Nova API itself supports both URL modes: with project-id and without project-id However, we are changing service catalogs for removing project-id based on the discussion. We have agreement on https://review.openstack.org/#/c/181393 like the following: - Standard required naming for endpoints (versioned vs. unversioned, contains project ID vs. no project ID). * We want unversioned endpoints so that the user can get information about multiple available versions in a given cloud. * We do not want project ID, account ID, or tenant ID as part of the resource URI for an OpenStack API endpoint. So this patch removes project-id from Nova service catalog for this direction. Change-Id: Ifd74152727b5c0c75924419a7a52e024a69ce72c
This commit is contained in:
parent
0486a3659e
commit
7f87efdd21
6
lib/nova
6
lib/nova
@ -429,9 +429,9 @@ function create_nova_accounts {
|
||||
get_or_create_endpoint \
|
||||
"compute" \
|
||||
"$REGION_NAME" \
|
||||
"$nova_api_url/v2.1/\$(project_id)s" \
|
||||
"$nova_api_url/v2.1/\$(project_id)s" \
|
||||
"$nova_api_url/v2.1/\$(project_id)s"
|
||||
"$nova_api_url/v2.1" \
|
||||
"$nova_api_url/v2.1" \
|
||||
"$nova_api_url/v2.1"
|
||||
fi
|
||||
|
||||
if is_service_enabled n-api; then
|
||||
|
Loading…
Reference in New Issue
Block a user