From 23f50d5aeda3ff3ab96f17e04df4df7646589c58 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Mon, 24 Apr 2017 11:22:40 +0800 Subject: 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 --- deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf') 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 -- cgit 1.2.3-korg