Allow backup of Cinder volumes to a Ceph object store in RHEL-OSP direc
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
I think the BZ is possible once the RGW patch (0) is merged. puppet-tripleo (1) and puppet-cinder (2) supports configuring Ceph backups to use swift. 0: https://review.openstack.org/#/c/289027/ 1: https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/cinder/backup/swift.pp 2: https://github.com/openstack/puppet-cinder/blob/master/manifests/backup/swift.pp
We can enable cinder-backup in OSPd10 deploying with: -e environments/cinder-backup.yaml it defaults to the swift backend, we need to test if by deploying rgw as a drop-in replacement for swift, cinder-backup works as expected.
With the merging of (1), this should be ready for testing in the next puddle. 1) https://review.openstack.org/#/c/289027/
I have used the upstream bits and have verified Cinder backup working working with Ceph RGW providing object storage services. This should be verified and (if successful) closed when the next stable puddle is available.
Verified on puppet-tripleo-5.3.0-7.el7ost.noarch with the following environment file: resource_registry: OS::TripleO::Services::CephMon: ../puppet/services/ceph-mon.yaml OS::TripleO::Services::CephOSD: ../puppet/services/ceph-osd.yaml OS::TripleO::Services::CephClient: ../puppet/services/ceph-client.yaml OS::TripleO::Services::CephRgw: ../puppet/services/ceph-rgw.yaml OS::TripleO::Services::SwiftProxy: OS::Heat::None OS::TripleO::Services::SwiftStorage: OS::Heat::None OS::TripleO::Services::SwiftRingBuilder: OS::Heat::None parameter_defaults: CinderEnableIscsiBackend: false CinderEnableRbdBackend: true CinderBackupBackend: swift NovaEnableRbdBackend: true GlanceBackend: swift GnocchiBackend: rbd CephPools: volumes: size: 3 pg_num: 128 pgp_num: 128 vms: size: 1 pg_num: 128 pgp_num: 128 images: size: 5 pg_num: 128 pgp_num: 128 metrics: size: 1 pg_num: 128 pgp_num: 128 ExtraConfig: ceph::profile::params::osds: '/dev/vdb': journal: '/dev/vdf1' '/dev/vdc': journal: '/dev/vdf2' '/dev/vdd': journal: '/dev/vdf3' '/dev/vde': journal: '/dev/vdf4' ceph::profile::params::osd_max_object_name_len: 256 ceph::profile::params::osd_max_object_namespace_len: 64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html