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
... | ... |
@@ -429,9 +429,9 @@ function create_nova_accounts { |
429 | 429 |
get_or_create_endpoint \ |
430 | 430 |
"compute" \ |
431 | 431 |
"$REGION_NAME" \ |
432 |
- "$nova_api_url/v2.1/\$(project_id)s" \ |
|
433 |
- "$nova_api_url/v2.1/\$(project_id)s" \ |
|
434 |
- "$nova_api_url/v2.1/\$(project_id)s" |
|
432 |
+ "$nova_api_url/v2.1" \ |
|
433 |
+ "$nova_api_url/v2.1" \ |
|
434 |
+ "$nova_api_url/v2.1" |
|
435 | 435 |
fi |
436 | 436 |
|
437 | 437 |
if is_service_enabled n-api; then |