Merge "Add cinder-backup config to external-ceph-guide"

This commit is contained in:
Jenkins 2017-06-02 09:41:14 +00:00 committed by Gerrit Code Review
commit 18214d95a3

View File

@ -96,8 +96,9 @@ Cinder
------ ------
Configuring external Ceph for Cinder works very similar to Configuring external Ceph for Cinder works very similar to
Glance. The required Cinder configuration goes into Glance.
/etc/kolla/config/cinder/cinder-volume.conf:
Edit /etc/kolla/config/cinder/cinder-volume.conf with the following content:
:: ::
@ -113,6 +114,20 @@ Glance. The required Cinder configuration goes into
volume_driver=cinder.volume.drivers.rbd.RBDDriver volume_driver=cinder.volume.drivers.rbd.RBDDriver
rbd_secret_uuid = {{ cinder_rbd_secret_uuid }} rbd_secret_uuid = {{ cinder_rbd_secret_uuid }}
Edit /etc/kolla/config/cinder/cinder-backup.conf with the following content:
::
[DEFAULT]
backup_ceph_conf=/etc/ceph/ceph.conf
backup_ceph_user=cinder
backup_ceph_chunk_size = 134217728
backup_ceph_pool=backups
backup_driver = cinder.backup.drivers.ceph
backup_ceph_stripe_unit = 0
backup_ceph_stripe_count = 0
restore_discard_excess_bytes = true
Next, place the ceph.conf file into Next, place the ceph.conf file into
/etc/kolla/config/cinder/ceph.conf: /etc/kolla/config/cinder/ceph.conf: