fuel-ccp-glance/service/files/glance-api.conf.j2

41 lines
1009 B
Django/Jinja

[DEFAULT]
debug = {{ glance_debug }}
use_syslog = False
use_stderr = True
use_forwarded_for = True
bind_host = {{ network_topology["private"]["address"] }}
bind_port = {{ glance_api_port }}
registry_host = glance-registry
cinder_catalog_info = volume:cinder:internalURL
[database]
connection = mysql+pymysql://{{ glance_db_username }}:{{ glance_db_password }}@{{ address('mariadb') }}/{{ glance_db_name }}
max_retries = -1
[keystone_authtoken]
auth_uri = http://{{ address('keystone') }}:{{ keystone_public_port }}
auth_url = http://{{ address('keystone') }}:{{ keystone_admin_port }}
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = {{ openstack_project_name }}
username = {{ glance_user }}
password = {{ glance_password }}
memcached_servers = {{ address('memcached') }}:{{ memcached_port }}
[paste_deploy]
flavor = keystone
[glance_store]
default_store = file
filesystem_store_datadir = /var/lib/glance/images/
[oslo_messaging_notifications]
driver = noop