eac07b11fa
Change-Id: I6e5855fba2d8e23d04667328a7d277c44f9b24db Depends-On: I9e6d9ee439cab734eba02320d58ccfcd73e23106
65 lines
2.0 KiB
Django/Jinja
65 lines
2.0 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ cinder.debug }}
|
|
use_forwarded_for = True
|
|
use_stderr = True
|
|
|
|
volume_name_template = volume-%s
|
|
|
|
glance_api_servers = {{ address('glance-api', glance.api_port) }}
|
|
|
|
glance_num_retries = 3
|
|
glance_api_version = 2
|
|
|
|
os_region_name = RegionOne
|
|
|
|
enabled_backends = {{ cinder.enabled_backends }}
|
|
|
|
osapi_volume_listen = {{ network_topology["private"]["address"] }}
|
|
osapi_volume_listen_port = {{ cinder.api_port.cont }}
|
|
|
|
api_paste_config = /etc/cinder/api-paste.ini
|
|
nova_catalog_info = compute:nova:internalURL
|
|
glance_catalog_info = image:glance:internalURL
|
|
|
|
auth_strategy = keystone
|
|
|
|
[database]
|
|
connection = mysql+pymysql://{{ cinder.db.username }}:{{ cinder.db.password }}@{{ address(service.database) }}/{{ cinder.db.name }}{% if percona.tls.enabled %}?ssl_ca=/opt/ccp/etc/tls/ca.pem{% endif %}
|
|
max_retries = -1
|
|
|
|
[keystone_authtoken]
|
|
auth_version = v3
|
|
auth_uri = {{ address('keystone', keystone.public_port, with_scheme=True) }}/v3
|
|
auth_url = {{ address('keystone', keystone.admin_port, with_scheme=True) }}/v3
|
|
auth_type = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ cinder.username }}
|
|
password = {{ cinder.password }}
|
|
memcached_servers = {{ address('memcached', memcached.port) }}
|
|
|
|
[oslo_concurrency]
|
|
lock_path = /var/lib/cinder/tmp
|
|
|
|
{% if cinder.ceph.enable %}
|
|
[rbd]
|
|
volume_driver = cinder.volume.drivers.rbd.RBDDriver
|
|
rbd_user = {{ cinder.ceph.username }}
|
|
rbd_secret_uuid = {{ cinder.ceph.rbd_secret_uuid }}
|
|
rbd_pool = {{ cinder.ceph.pool_name }}
|
|
rbd_ceph_conf = /etc/ceph/ceph.conf
|
|
{% endif %}
|
|
|
|
[privsep_entrypoint]
|
|
helper_command=sudo cinder-rootwrap /etc/cinder/rootwrap.conf privsep-helper --config-file /etc/cinder/cinder.conf
|
|
|
|
{% if searchlight is defined and searchlight.services.cinder %}
|
|
[oslo_messaging_notifications]
|
|
driver = {{ searchlight.notification_driver }}
|
|
{% endif %}
|
|
|
|
{# messaging macros template #}
|
|
{{ oslo_messaging[messaging.backend.rpc]('rpc_config') }}
|
|
{{ oslo_messaging[messaging.backend.notifications]('notifications_config') }}
|