~gnuoy/charms/trusty/cinder/1453940-stable

« back to all changes in this revision

Viewing changes to templates/kilo/cinder.conf

  • Committer: james.page at ubuntu
  • Date: 2015-03-30 14:23:03 UTC
  • mfrom: (79.1.11 cinder)
  • Revision ID: james.page@ubuntu.com-20150330142303-iuoph9551g2brxhc
Add full kilo support

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# [ WARNING ]
 
3
# cinder configuration file maintained by Juju
 
4
# local changes may be overwritten.
 
5
###############################################################################
 
6
[DEFAULT]
 
7
rootwrap_config = /etc/cinder/rootwrap.conf
 
8
api_paste_confg = /etc/cinder/api-paste.ini
 
9
iscsi_helper = tgtadm
 
10
volume_name_template = volume-%s
 
11
volume_group = cinder-volumes
 
12
verbose = {{ verbose }}
 
13
debug = {{ debug }}
 
14
use_syslog = {{ use_syslog }}
 
15
auth_strategy = keystone
 
16
state_path = /var/lib/cinder
 
17
volumes_dir = /var/lib/cinder/volumes
 
18
osapi_volume_workers = {{ workers }}
 
19
 
 
20
{% if rabbitmq_host or rabbitmq_hosts -%}
 
21
notification_driver = cinder.openstack.common.notifier.rpc_notifier
 
22
control_exchange = cinder
 
23
{% endif -%}
 
24
 
 
25
{% if volume_driver -%}
 
26
volume_driver = {{ volume_driver }}
 
27
{% endif -%}
 
28
 
 
29
{% if rbd_pool -%}
 
30
rbd_pool = {{ rbd_pool }}
 
31
host = {{ host }}
 
32
rbd_user = {{ rbd_user }}
 
33
{% endif -%}
 
34
 
 
35
osapi_volume_listen = {{ bind_host }}
 
36
{% if osapi_volume_listen_port -%}
 
37
osapi_volume_listen_port = {{ osapi_volume_listen_port }}
 
38
{% endif -%}
 
39
 
 
40
{% if glance_api_servers -%}
 
41
glance_api_servers = {{ glance_api_servers }}
 
42
{% endif -%}
 
43
 
 
44
{% if glance_api_version -%}
 
45
glance_api_version = {{ glance_api_version }}
 
46
{% endif -%}
 
47
 
 
48
{% if user_config_flags -%}
 
49
{% for key, value in user_config_flags.iteritems() -%}
 
50
{{ key }} = {{ value }}
 
51
{% endfor -%}
 
52
{% endif -%}
 
53
 
 
54
{% include "parts/backends" %}
 
55
 
 
56
{% include "section-keystone-authtoken" %}
 
57
 
 
58
{% include "parts/section-database" %}
 
59
 
 
60
{% include "section-rabbitmq-oslo" %}
 
61
 
 
62
[oslo_concurrency]
 
63
lock_path = /var/lock/cinder