Commit e60d2702 authored by Jan Siersch's avatar Jan Siersch
Browse files

added cinder backup service (ceph backend)

parent 7741e0f8
......@@ -21,6 +21,12 @@ rabbit_userid = guest
rabbit_password = ${RABBIT_PASS}
control_exchange = cinder
# cinder backup (currently only ceph configured)
backup_driver = cinder.backup.drivers.ceph
backup_ceph_conf = /etc/ceph/ceph.conf
backup_ceph_user = cinder-backup
backup_ceph_pool = backups
# glance
glance_api_version = 2
glance_api_servers = https://${GLANCE_API_HOST}:9292
......
......@@ -42,9 +42,9 @@ if [ "$nodetype" == "controlnode" ]; then
systemctl enable openstack-cinder-api.service openstack-cinder-scheduler.service
systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
elif [[ -n $(vgs | grep vg_cinder) ]]; then
systemctl enable lvm2-lvmetad.service openstack-cinder-volume.service target.service
systemctl enable lvm2-lvmetad.service openstack-cinder-volume.service openstack-cinder-volume.service target.service
systemctl start lvm2-lvmetad.service
systemctl restart openstack-cinder-volume.service target.service
systemctl restart openstack-cinder-volume.service openstack-cinder-volume.service target.service
else
echo "### WARN: volume group vg_cinder not found, please configure it before using cinder ###"
echo "### WARN: volume group vg_cinder not found, please configure it, if you want to host cinder volumes on this node ###"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment