4b9d9ad781
The keystone_auth section has changed for Mitaka. The Liberty format ,which is currently being used, is incompatible with keystone v3 on Mitaka as it assumes the id of the default domain is default where as in Mitaka it is a uuid. The install documentation for Mitaka dictates that domain name should be used rather than id when setting project_domain and user_domain Change-Id: Ie4d20a7287b7baca104996999ac8d333976ab752 Partial-Bug: 1571347
90 lines
2.0 KiB
Plaintext
90 lines
2.0 KiB
Plaintext
[DEFAULT]
|
|
verbose = {{ verbose }}
|
|
use_syslog = {{ use_syslog }}
|
|
debug = {{ debug }}
|
|
workers = {{ workers }}
|
|
bind_host = {{ bind_host }}
|
|
|
|
{% if use_internal_endpoints -%}
|
|
cinder_catalog_info = volumev2::internalURL
|
|
{% endif %}
|
|
|
|
{% if ext -%}
|
|
bind_port = {{ ext }}
|
|
{% elif bind_port -%}
|
|
bind_port = {{ bind_port }}
|
|
{% else -%}
|
|
bind_port = 9292
|
|
{% endif -%}
|
|
|
|
log_file = /var/log/glance/api.log
|
|
backlog = 4096
|
|
|
|
registry_host = {{ registry_host }}
|
|
registry_port = 9191
|
|
registry_client_protocol = http
|
|
|
|
{% if expose_image_locations -%}
|
|
show_multiple_locations = {{ expose_image_locations }}
|
|
{% endif -%}
|
|
|
|
{% if api_config_flags -%}
|
|
{% for key, value in api_config_flags.iteritems() -%}
|
|
{{ key }} = {{ value }}
|
|
{% endfor -%}
|
|
{% endif -%}
|
|
|
|
{% if rabbitmq_host or rabbitmq_hosts -%}
|
|
notification_driver = messagingv2
|
|
{% endif -%}
|
|
|
|
delayed_delete = False
|
|
scrub_time = 43200
|
|
scrubber_datadir = /var/lib/glance/scrubber
|
|
image_cache_dir = /var/lib/glance/image-cache/
|
|
db_enforce_mysql_charset = False
|
|
|
|
[glance_store]
|
|
filesystem_store_datadir = /var/lib/glance/images/
|
|
stores = {{ known_stores }}
|
|
{% if rbd_pool -%}
|
|
default_store = rbd
|
|
{% elif swift_store -%}
|
|
default_store = swift
|
|
{% else -%}
|
|
default_store = file
|
|
{% endif -%}
|
|
|
|
{% if swift_store -%}
|
|
swift_store_auth_version = 2
|
|
swift_store_auth_address = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0/
|
|
swift_store_user = {{ admin_tenant_name }}:{{ admin_user }}
|
|
swift_store_key = {{ admin_password }}
|
|
swift_store_create_container_on_put = True
|
|
swift_store_container = glance
|
|
swift_store_large_object_size = 5120
|
|
swift_store_large_object_chunk_size = 200
|
|
swift_enable_snet = False
|
|
{% endif -%}
|
|
|
|
{% if rbd_pool -%}
|
|
rbd_store_ceph_conf = /etc/ceph/ceph.conf
|
|
rbd_store_user = {{ rbd_user }}
|
|
rbd_store_pool = {{ rbd_pool }}
|
|
rbd_store_chunk_size = 8
|
|
{% endif -%}
|
|
|
|
[image_format]
|
|
disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,root-tar
|
|
|
|
{% include "section-keystone-authtoken-mitaka" %}
|
|
|
|
{% if auth_host -%}
|
|
[paste_deploy]
|
|
flavor = keystone
|
|
{% endif %}
|
|
|
|
{% include "parts/section-database" %}
|
|
|
|
{% include "section-rabbitmq-oslo" %}
|