Use internal identity endpoint for services

Depends-On: Id74966d9f1279f725bc41c08e434230a7845bbc1
Change-Id: If77f23c98ac3c932d6bfc46281cc14105e9ccd9f
This commit is contained in:
Samuel Cassiba 2018-07-16 12:44:25 -07:00
parent a59b4e4de9
commit 3d096b57fd
2 changed files with 4 additions and 4 deletions

View File

@ -86,8 +86,8 @@ if node['openstack']['mq']['service_type'] == 'rabbit'
node.default['openstack']['network']['conf_secrets']['DEFAULT']['transport_url'] = rabbit_transport_url 'network'
end
identity_endpoint = public_endpoint 'identity'
auth_url = auth_uri_transform identity_endpoint.to_s, node['openstack']['api']['auth']['version']
identity_endpoint = internal_endpoint 'identity'
auth_url = ::URI.decode identity_endpoint.to_s
db_user = node['openstack']['db']['network']['username']
db_pass = get_password 'db', 'neutron'

View File

@ -26,8 +26,8 @@ class ::Chef::Recipe
include ::Openstack
end
identity_endpoint = public_endpoint 'identity'
auth_url = auth_uri_transform identity_endpoint.to_s, node['openstack']['api']['auth']['version']
identity_endpoint = internal_endpoint 'identity'
auth_url = ::URI.decode identity_endpoint.to_s
interfaces = {
public: { url: public_endpoint('network') },