diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-volume')
3 files changed, 5 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 diff --git a/deploy/adapters/ansible/roles/cinder-volume/vars/Debian.yml b/deploy/adapters/ansible/roles/cinder-volume/vars/Debian.yml index d95b779c..8c3cb728 100644 --- a/deploy/adapters/ansible/roles/cinder-volume/vars/Debian.yml +++ b/deploy/adapters/ansible/roles/cinder-volume/vars/Debian.yml @@ -12,3 +12,4 @@ packages: services: - cinder-volume + - tgt diff --git a/deploy/adapters/ansible/roles/cinder-volume/vars/RedHat.yml b/deploy/adapters/ansible/roles/cinder-volume/vars/RedHat.yml index 6d596f4b..892c66d8 100644 --- a/deploy/adapters/ansible/roles/cinder-volume/vars/RedHat.yml +++ b/deploy/adapters/ansible/roles/cinder-volume/vars/RedHat.yml @@ -17,3 +17,4 @@ packages: services: - openstack-cinder-volume - lvm2-lvmetad + - target |