Red Hat Bugzilla – Bug 1262064
[RFE] Expose Cinder Backup in RHEL-OSP director
Last modified: 2016-12-14 10:15:11 EST
Currently we do not expose the Cinder backup capability in director. As an admin, I need to ensure that all of my users’ data is backed up in case of accidental deletion where restoration is a manual process. As a user, I want access to backups of all my Cinder Volumes and snapshots. See https://github.com/openstack/puppet-cinder/blob/master/manifests/backup.pp
*** Bug 1254938 has been marked as a duplicate of this bug. ***
which backend are we going use? Swift or RBD?
*** Bug 1293875 has been marked as a duplicate of this bug. ***
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
The existing submissions will configure backup service in pacemaker so that there is always a single instance running, like volume, not colocated with volume service though. Backend can be either Swift or Ceph.
Tested using: openstack-tripleo-heat-templates-5.0.0-0.20161003064637.d636e3a.1.1.el7ost.noarch Verification flow: [root@controller-0 ~]# systemctl status openstack-cinder-backup | grep active Active: active (running) since Mon 2016-10-10 10:15:14 UTC; 1h 22min ago [stack@undercloud-0 ~]$ cinder create 1 +--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2016-10-10T11:38:25.000000 | | description | None | | encrypted | False | | id | 6a87140b-4c91-4854-9de6-1ca5e00ffee5 | | metadata | {} | | migration_status | None | | multiattach | False | | name | None | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 34a8fb398a6542398085c3f29f8676d3 | | replication_status | disabled | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | updated_at | None | | user_id | c1400d1b3f16466da0d94b53eb5c3471 | | volume_type | None | +--------------------------------+--------------------------------------+ [stack@undercloud-0 ~]$ cinder backup-create 6a87140b-4c91-4854-9de6-1ca5e00ffee5 +-----------+--------------------------------------+ | Property | Value | +-----------+--------------------------------------+ | id | 9f0e816b-1614-4541-a66f-6307a0a5367e | | name | None | | volume_id | 6a87140b-4c91-4854-9de6-1ca5e00ffee5 | +-----------+--------------------------------------+ [stack@undercloud-0 ~]$ cinder backup-list +--------------------------------------+--------------------------------------+-----------+------+------+--------------+---------------+ | ID | Volume ID | Status | Name | Size | Object Count | Container | +--------------------------------------+--------------------------------------+-----------+------+------+--------------+---------------+ | 9f0e816b-1614-4541-a66f-6307a0a5367e | 6a87140b-4c91-4854-9de6-1ca5e00ffee5 | available | - | 1 | 22 | volumebackups | +--------------------------------------+--------------------------------------+-----------+------+------+--------------+---------------+ [stack@undercloud-0 ~]$ cinder list +--------------------------------------+-----------+-----------------------------------------------------+------+-------------+----------+-------------+ | ID | Status | Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+-----------------------------------------------------+------+-------------+----------+-------------+ | ad72daee-cd90-4cca-8d60-3d3d95d2c9a5 | available | restore_backup_9f0e816b-1614-4541-a66f-6307a0a5367e | 1 | - | false | | +--------------------------------------+-----------+-----------------------------------------------------+------+-------------+----------+-------------+
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