default: support configuring keystonemiddleware for memcached
network counterpart of the recent change to openstack-compute. Signed-off-by: Marek Szuba <m.szuba@gsi.de> Change-Id: I717bd8f1df136ceef1da519faaa18a1ef62c02cb
This commit is contained in:
parent
222df62ab3
commit
b8a2ca3733
|
@ -68,6 +68,8 @@ if node['openstack']['mq']['service_type'] == 'rabbit'
|
|||
node.default['openstack']['network']['conf_secrets']['DEFAULT']['transport_url'] = rabbit_transport_url 'network'
|
||||
end
|
||||
|
||||
memcache_servers = memcached_servers.join ','
|
||||
|
||||
identity_endpoint = internal_endpoint 'identity'
|
||||
auth_url = identity_endpoint.to_s
|
||||
|
||||
|
@ -84,6 +86,9 @@ node.default['openstack']['network']['conf'].tap do |conf|
|
|||
conf['DEFAULT']['bind_port'] = bind_service['port']
|
||||
conf['nova']['auth_url'] = auth_url
|
||||
conf['keystone_authtoken']['auth_url'] = auth_url
|
||||
unless memcache_servers.empty?
|
||||
conf['keystone_authtoken']['memcached_servers'] = memcache_servers
|
||||
end
|
||||
end
|
||||
|
||||
# define secrets that are needed in the neutron.conf.erb
|
||||
|
|
Loading…
Reference in New Issue