e34fd2fa0372e670cd48d91c850b9ac1234dd0a0
[genesis.git] / compass / deploy / ansible / roles / cinder-controller / templates / cinder.conf
1 [DEFAULT]
2 rootwrap_config = /etc/cinder/rootwrap.conf
3 api_paste_confg = /etc/cinder/api-paste.ini
4 iscsi_helper = tgtadm
5 volume_name_template = volume-%s
6 volume_group = cinder-volumes
7 verbose = {{ VERBOSE }}
8 debug = {{ DEBUG }}
9 auth_strategy = keystone
10 state_path = /var/lib/cinder
11 lock_path = /var/lock/cinder
12 notification_driver=cinder.openstack.common.notifier.rpc_notifier
13 volumes_dir = /var/lib/cinder/volumes
14
15 log_file=/var/log/cinder/cinder.log
16
17 control_exchange = cinder
18 rpc_backend = rabbit
19 rabbit_host = {{ rabbit_host }}
20 rabbit_port = 5672
21 rabbit_userid = {{ RABBIT_USER }}
22 rabbit_password = {{ RABBIT_PASS }}
23 my_ip = {{ storage_controller_host }}
24
25 glance_host = {{ HA_VIP }}
26 glance_port = 9292
27 api_rate_limit = False
28 storage_availability_zone = nova
29
30 quota_volumes = 10
31 quota_gigabytes=1000
32 quota_driver=cinder.quota.DbQuotaDriver
33
34 osapi_volume_listen = {{ storage_controller_host }}
35 osapi_volume_listen_port = 8776
36
37 db_backend = sqlalchemy
38 volume_name_template = volume-%s
39 snapshot_name_template = snapshot-%s
40
41 max_gigabytes=10000
42 volume_group=cinder-volumes
43
44 volume_clear=zero
45 volume_clear_size=10
46
47 iscsi_ip_address={{ storage_controller_host }}
48 iscsi_port=3260
49 iscsi_helper=tgtadm
50
51 volumes_dir=/var/lib/cinder/volumes
52
53 volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
54
55 [keystone_authtoken]
56 auth_uri = http://{{ HA_VIP }}:5000/v2.0
57 identity_uri = http://{{ HA_VIP }}:35357
58 admin_tenant_name = service
59 admin_user = cinder
60 admin_password = {{ CINDER_PASS }}
61
62 [database]
63 connection = mysql://cinder:{{ CINDER_DBPASS }}@{{ db_host }}/cinder