Nova API endpoint versions
Default endpoint version should be 2.1. Nova API v3 has been deprecated. Change-Id: Ic622cd1ccde9d1dab487499614cf486cb0cdb4f7
This commit is contained in:
parent
0ac25ddf50
commit
b076dcd6ca
@ -3,8 +3,7 @@ class packstack::keystone::nova ()
|
|||||||
$nova_protocol = 'http'
|
$nova_protocol = 'http'
|
||||||
$nova_host = hiera('CONFIG_KEYSTONE_HOST_URL')
|
$nova_host = hiera('CONFIG_KEYSTONE_HOST_URL')
|
||||||
$nova_port = '8774'
|
$nova_port = '8774'
|
||||||
$nova_url = "${nova_protocol}://${nova_host}:$nova_port/v2/%(tenant_id)s"
|
$nova_url = "${nova_protocol}://${nova_host}:$nova_port/v2.1/%(tenant_id)s"
|
||||||
$nova_v3_url = "${nova_protocol}://${nova_host}:$nova_port/v3"
|
|
||||||
|
|
||||||
class { '::nova::keystone::auth':
|
class { '::nova::keystone::auth':
|
||||||
region => hiera('CONFIG_KEYSTONE_REGION'),
|
region => hiera('CONFIG_KEYSTONE_REGION'),
|
||||||
@ -12,8 +11,5 @@ class packstack::keystone::nova ()
|
|||||||
public_url => $nova_url,
|
public_url => $nova_url,
|
||||||
admin_url => $nova_url,
|
admin_url => $nova_url,
|
||||||
internal_url => $nova_url,
|
internal_url => $nova_url,
|
||||||
public_url_v3 => $nova_v3_url,
|
|
||||||
admin_url_v3 => $nova_v3_url,
|
|
||||||
internal_url_v3 => $nova_v3_url,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user