Comment 3 for bug 1599298

Revision history for this message
James Page (james-page) wrote :

The template should probably be better:

{% 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 -%}

as it relies on keystone data, we might make that conditional on service_host being present as well before writing things out (but that's a low priority change IMHO).