From c5b6d0d5162edc5c7d9dbbc2deac031404ce6f8a Mon Sep 17 00:00:00 2001 From: shaofeng_cheng Date: Fri, 14 Apr 2017 18:02:18 +0800 Subject: [PATCH] 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 --- doc/external-ceph-guide.rst | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/doc/external-ceph-guide.rst b/doc/external-ceph-guide.rst index 61ef983e5c..37b8a01a95 100644 --- a/doc/external-ceph-guide.rst +++ b/doc/external-ceph-guide.rst @@ -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: