summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/openstack-cinder-setup
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/share/openstack/openstack-cinder-setup')
-rw-r--r--openstack/usr/share/openstack/openstack-cinder-setup12
1 files changed, 1 insertions, 11 deletions
diff --git a/openstack/usr/share/openstack/openstack-cinder-setup b/openstack/usr/share/openstack/openstack-cinder-setup
index 59fd0085..fc798fe9 100644
--- a/openstack/usr/share/openstack/openstack-cinder-setup
+++ b/openstack/usr/share/openstack/openstack-cinder-setup
@@ -115,6 +115,7 @@ systemctl start openstack-cinder-api
systemctl start openstack-cinder-scheduler
systemctl start openstack-cinder-volume
systemctl start openstack-cinder-backup
+systemctl start openstack-cinder-configure-backends
# Create the links to run nova services when system start next times.
ln -sf "/etc/systemd/system/openstack-cinder-api.service" \
@@ -129,15 +130,4 @@ ln -sf "/etc/systemd/system/openstack-cinder-volume.service" \
ln -sf "/etc/systemd/system/openstack-cinder-backup.service" \
"/etc/systemd/system/multi-user.target.wants/openstack-cinder-backup.service"
-# Create the cinder LVM type and set a volume backend name
-export OS_SERVICE_TOKEN=##KEYSTONE_TEMPORARY_ADMIN_TOKEN##
-export OS_SERVICE_ENDPOINT='http://onenode:35357/v2.0'
-cinder type-create lvms
-cinder type-key lvms set volume_backend_name=LVM_iSCSI
-
-# Run the target service required for attaching volumes
-depmod -a
-systemctl enable target
-systemctl start target
-
exit 0