Use internal identity endpoint for services
Depends-On: Id74966d9f1279f725bc41c08e434230a7845bbc1 Change-Id: I4d2cbcc860060ed6dfdc9f134c43c6c77bf9e9f7
This commit is contained in:
@@ -48,12 +48,12 @@ end
|
|||||||
glance_api_endpoint = internal_endpoint 'image_api'
|
glance_api_endpoint = internal_endpoint 'image_api'
|
||||||
cinder_api_bind = node['openstack']['bind_service']['all']['block-storage']
|
cinder_api_bind = node['openstack']['bind_service']['all']['block-storage']
|
||||||
cinder_api_bind_address = bind_address cinder_api_bind
|
cinder_api_bind_address = bind_address cinder_api_bind
|
||||||
identity_endpoint = public_endpoint 'identity'
|
identity_endpoint = internal_endpoint 'identity'
|
||||||
node.default['openstack']['block-storage']['conf_secrets']
|
node.default['openstack']['block-storage']['conf_secrets']
|
||||||
.[]('keystone_authtoken')['password'] =
|
.[]('keystone_authtoken')['password'] =
|
||||||
get_password 'service', 'openstack-block-storage'
|
get_password 'service', 'openstack-block-storage'
|
||||||
|
|
||||||
auth_url = auth_uri_transform identity_endpoint.to_s, node['openstack']['api']['auth']['version']
|
auth_url = ::URI.decode identity_endpoint.to_s
|
||||||
|
|
||||||
directory '/etc/cinder' do
|
directory '/etc/cinder' do
|
||||||
group node['openstack']['block-storage']['group']
|
group node['openstack']['block-storage']['group']
|
||||||
|
|||||||
@@ -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('block-storage') },
|
public: { url: public_endpoint('block-storage') },
|
||||||
|
|||||||
Reference in New Issue
Block a user