Use internal identity endpoint for services
Depends-On: Id74966d9f1279f725bc41c08e434230a7845bbc1 Change-Id: If77f23c98ac3c932d6bfc46281cc14105e9ccd9f
This commit is contained in:
parent
a59b4e4de9
commit
3d096b57fd
|
@ -86,8 +86,8 @@ if node['openstack']['mq']['service_type'] == 'rabbit'
|
||||||
node.default['openstack']['network']['conf_secrets']['DEFAULT']['transport_url'] = rabbit_transport_url 'network'
|
node.default['openstack']['network']['conf_secrets']['DEFAULT']['transport_url'] = rabbit_transport_url 'network'
|
||||||
end
|
end
|
||||||
|
|
||||||
identity_endpoint = public_endpoint 'identity'
|
identity_endpoint = internal_endpoint 'identity'
|
||||||
auth_url = auth_uri_transform identity_endpoint.to_s, node['openstack']['api']['auth']['version']
|
auth_url = ::URI.decode identity_endpoint.to_s
|
||||||
|
|
||||||
db_user = node['openstack']['db']['network']['username']
|
db_user = node['openstack']['db']['network']['username']
|
||||||
db_pass = get_password 'db', 'neutron'
|
db_pass = get_password 'db', 'neutron'
|
||||||
|
|
|
@ -26,8 +26,8 @@ class ::Chef::Recipe
|
||||||
include ::Openstack
|
include ::Openstack
|
||||||
end
|
end
|
||||||
|
|
||||||
identity_endpoint = public_endpoint 'identity'
|
identity_endpoint = internal_endpoint 'identity'
|
||||||
auth_url = auth_uri_transform identity_endpoint.to_s, node['openstack']['api']['auth']['version']
|
auth_url = ::URI.decode identity_endpoint.to_s
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
public: { url: public_endpoint('network') },
|
public: { url: public_endpoint('network') },
|
||||||
|
|
Loading…
Reference in New Issue