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