efb1a1e2d9
The stein version of python-oslo.messaging (9.0.0+) has removed the following config options from the [oslo_messaging_rabbit] section: rabbit_host, rabbit_port, rabbit_hosts, rabbit_userid, rabbit_password, rabbit_virtual_host rabbit_max_retries, and rabbit_durable_queues. The above change requires a sync from charm-helpers. Additionally the transport_url directive has been moved to the [DEFAULT] section. These have been deprecated since Ocata, therefore this change will be provided to pre-Stein templates in order to drop deprecation warnings. See release notes at: https://docs.openstack.org/releasenotes/oslo.messaging/index.html test_300_cinder_config is also removed in this change as amulet tests no longer need to confirm config file settings. Change-Id: Ia93be49430e8d95c38ed521d08bbb62f47e13e59 Closes-Bug: #1817672
71 lines
1.9 KiB
Plaintext
71 lines
1.9 KiB
Plaintext
###############################################################################
|
|
# [ WARNING ]
|
|
# cinder configuration file maintained by Juju
|
|
# local changes may be overwritten.
|
|
###############################################################################
|
|
[DEFAULT]
|
|
rootwrap_config = /etc/cinder/rootwrap.conf
|
|
api_paste_confg = /etc/cinder/api-paste.ini
|
|
iscsi_helper = tgtadm
|
|
verbose = {{ verbose }}
|
|
debug = {{ debug }}
|
|
use_syslog = {{ use_syslog }}
|
|
auth_strategy = keystone
|
|
state_path = /var/lib/cinder
|
|
osapi_volume_workers = {{ workers }}
|
|
|
|
{% if transport_url %}
|
|
transport_url = {{ transport_url }}
|
|
{% endif %}
|
|
|
|
{% if use_internal_endpoints -%}
|
|
swift_catalog_info = object-store:swift:internalURL
|
|
keystone_catalog_info = identity:Identity Service:internalURL
|
|
glance_catalog_info = image:glance:internalURL
|
|
nova_catalog_info = compute:Compute Service:internalURL
|
|
{% endif %}
|
|
|
|
osapi_volume_listen = {{ bind_host }}
|
|
{% if osapi_volume_listen_port -%}
|
|
osapi_volume_listen_port = {{ osapi_volume_listen_port }}
|
|
{% endif -%}
|
|
|
|
{% if glance_api_servers -%}
|
|
glance_api_servers = {{ glance_api_servers }}
|
|
{% endif -%}
|
|
|
|
{% if glance_api_version -%}
|
|
glance_api_version = {{ glance_api_version }}
|
|
{% endif -%}
|
|
|
|
{% if region -%}
|
|
os_region_name = {{ region }}
|
|
{% endif -%}
|
|
|
|
{% if user_config_flags -%}
|
|
{% for key, value in user_config_flags.items() -%}
|
|
{{ key }} = {{ value }}
|
|
{% endfor -%}
|
|
{% endif -%}
|
|
|
|
volume_usage_audit_period = {{ volume_usage_audit_period }}
|
|
|
|
{% include "parts/backends" %}
|
|
{% include "section-keystone-authtoken-mitaka" %}
|
|
|
|
{% include "parts/section-database" %}
|
|
|
|
{% include "section-oslo-messaging-rabbit" %}
|
|
|
|
{% include "section-oslo-notifications" %}
|
|
|
|
[oslo_concurrency]
|
|
lock_path = /var/lock/cinder
|
|
|
|
[keymgr]
|
|
# XXX: hack to work around http://pad.lv/1516085
|
|
# will be superseded by SRU to cinder package
|
|
encryption_auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v3
|
|
|
|
{% include "section-oslo-middleware" %}
|