switch over nova to using $(project_id) in service catalog
This makes one less place we reference tenant_id Change-Id: I53dfeb4d23a9babf7bb46fd3736b4ac005e45993
This commit is contained in:
parent
be11ae7abc
commit
bd27cc2e67
12
lib/nova
12
lib/nova
@ -421,17 +421,17 @@ function create_nova_accounts {
|
||||
get_or_create_endpoint \
|
||||
"compute_legacy" \
|
||||
"$REGION_NAME" \
|
||||
"$nova_api_url/v2/\$(tenant_id)s" \
|
||||
"$nova_api_url/v2/\$(tenant_id)s" \
|
||||
"$nova_api_url/v2/\$(tenant_id)s"
|
||||
"$nova_api_url/v2/\$(project_id)s" \
|
||||
"$nova_api_url/v2/\$(project_id)s" \
|
||||
"$nova_api_url/v2/\$(project_id)s"
|
||||
|
||||
get_or_create_service "nova" "compute" "Nova Compute Service"
|
||||
get_or_create_endpoint \
|
||||
"compute" \
|
||||
"$REGION_NAME" \
|
||||
"$nova_api_url/v2.1/\$(tenant_id)s" \
|
||||
"$nova_api_url/v2.1/\$(tenant_id)s" \
|
||||
"$nova_api_url/v2.1/\$(tenant_id)s"
|
||||
"$nova_api_url/v2.1/\$(project_id)s" \
|
||||
"$nova_api_url/v2.1/\$(project_id)s" \
|
||||
"$nova_api_url/v2.1/\$(project_id)s"
|
||||
fi
|
||||
|
||||
if is_service_enabled n-api; then
|
||||
|
Loading…
Reference in New Issue
Block a user