From 5aae293c3c63c26bb789f366bdc1c035722e0d95 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Wed, 8 Apr 2015 15:14:33 +0000 Subject: Remove multiple backends configuration - not required --- openstack/etc/cinder/cinder.conf | 9 +-------- .../usr/share/openstack/openstack-cinder-configure-backends | 8 -------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/openstack/etc/cinder/cinder.conf b/openstack/etc/cinder/cinder.conf index d27a541c..a7b26c54 100644 --- a/openstack/etc/cinder/cinder.conf +++ b/openstack/etc/cinder/cinder.conf @@ -619,7 +619,7 @@ auth_strategy=keystone # A list of backend names to use. These backend names should # be backed by a unique [CONFIG] group with its options (list # value) -enabled_backends=lvm_onenode +#enabled_backends=none # Whether snapshots count against GigaByte quota (boolean # value) @@ -2768,10 +2768,3 @@ admin_tenant_name=service # Private key file to use when starting the server securely # (string value) #key_file= - -[lvm_onenode] -iscsi_helper=lioadm -volume_group=cinder-volumes -volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver -iscsi_ip_address=##GLANCE_HOST## -volume_backend_name=LVM_iSCSI diff --git a/openstack/usr/share/openstack/openstack-cinder-configure-backends b/openstack/usr/share/openstack/openstack-cinder-configure-backends index 1f2c3a2a..487c58c0 100644 --- a/openstack/usr/share/openstack/openstack-cinder-configure-backends +++ b/openstack/usr/share/openstack/openstack-cinder-configure-backends @@ -22,14 +22,6 @@ set -xe sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb\/\", \"r\/\.\*\/\" \]|' \ /etc/lvm/lvm.conf -# Create the cinder LVM type and set a volume backend name -export OS_USERNAME=temporary_admin -export OS_PASSWORD=veryinsecure -export OS_TENANT_NAME=admin -export OS_AUTH_URL=http://localhost:35357/v2.0 -cinder type-create lvms -cinder type-key lvms set volume_backend_name=LVM_iSCSI - # Create initiatorname.iscsi file mkdir -p "$DESTDIR"/etc/iscsi echo "InitiatorName=$(iscsi-iname)" > /etc/iscsi/initiatorname.iscsi -- cgit v1.2.1