Add cinder-backup config to external-ceph-guide

External-ceph-guide is miss cinder-backup.conf sample,
so cinder-backup service is not work.

Change-Id: I2e3d07814677cbfbbe5b1d539187509d2b16159d
This commit is contained in:
shaofeng_cheng 2017-04-14 18:02:18 +08:00
parent 55b51c2a3e
commit c5b6d0d516

View File

@ -100,8 +100,9 @@ Cinder
------
Configuring external Ceph for Cinder works very similar to
Glance. The required Cinder configuration goes into
/etc/kolla/config/cinder/cinder-volume.conf:
Glance.
Edit /etc/kolla/config/cinder/cinder-volume.conf with the following content:
::
@ -116,6 +117,20 @@ Glance. The required Cinder configuration goes into
volume_backend_name=rbd-1
volume_driver=cinder.volume.drivers.rbd.RBDDriver
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
/etc/kolla/config/cinder/ceph.conf: