Add "address" to all services

Replace all <some_service> occurences with
{{ address('<some_service>') }}

Change-Id: I039da1f45d1f5d2f3d7c87be8f463337ae8b9b17
Depends-on: I163857fa0c671e21725d7276540f5fbba09619d2
Depends-on: Ibbb12e016570936468effbbd0648d4690abe3aab
This commit is contained in:
Andrey 2016-09-20 12:30:37 +00:00 committed by Andrey Pavlov
parent 4836f998ed
commit 616c6e8d34
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ SECRET_KEY = "{{ horizon_secret_key }}"
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'memcached:{{ memcached_port }}',
'LOCATION': '{{ address("memcached") }}:{{ memcached_port }}',
},
}
@ -150,7 +150,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
#]
OPENSTACK_HOST = "keystone"
OPENSTACK_HOST = "{{ address('keystone') }}"
OPENSTACK_KEYSTONE_URL = "http://%s:{{ keystone_public_port }}/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"