aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2017-04-24 11:22:40 +0800
committerYifei Xue <xueyifei@huawei.com>2017-04-24 21:37:19 +0800
commit23f50d5aeda3ff3ab96f17e04df4df7646589c58 (patch)
tree8f4c99f09edf5e8587e40026665ddd73f6ff4556 /deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
parent494ac5825c5b435d512cc13332e302efd30e2a6c (diff)
tempest test case failed in Functest smoke
JIRA: COMPASS-545 1. LVMISCSIDriver has been removed but LVMVolumeDriver is what actually exists. Updating the LVM driver name in cinder.conf will solve this. 2. Add tgt to cinder-volume's service list 3. Add section of ceph in cinder.conf for cinder backend 4. Add enable_backends in cinder.conf Change-Id: I477d2b17ce9e10871a7b96c1a98a49506b36a6ef Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf')
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
index e7946b5c..9a5ca005 100644
--- a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
+++ b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
@@ -17,6 +17,8 @@ control_exchange = cinder
rpc_backend = rabbit
my_ip = {{ storage_controller_host }}
+enabled_backends = lvm
+
glance_host = {{ internal_vip.ip }}
glance_port = 9292
glance_api_servers = http://{{ internal_vip.ip }}:9292
@@ -44,7 +46,6 @@ iscsi_port=3260
iscsi_helper=tgtadm
volumes_dir=/var/lib/cinder/volumes
-volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
[database]
connection = mysql://cinder:{{ CINDER_DBPASS }}@{{ db_host }}/cinder
@@ -67,7 +68,7 @@ admin_password = {{ CINDER_PASS }}
[lvm]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
-volume_group = cinder-volumes
+volume_group = storage-volumes
iscsi_protocol = iscsi
iscsi_helper = tgtadm