Bug 1262064
| Summary: | [RFE] Expose Cinder Backup in RHEL-OSP director | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Sean Cohen <scohen> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED ERRATA | QA Contact: | lkuchlan <lkuchlan> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.0 (Kilo) | CC: | chris.brown, ebagdasa, egafford, eharney, emacchi, hbrock, jjoyce, jschluet, kbasil, mbultel, mburns, mcornea, morazi, nlevinki, pbandark, rhel-osp-director-maint, scohen |
| Target Milestone: | beta | Keywords: | AutomationBlocker, FutureFeature, Triaged |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-5.0.0-0.20160907212643.90c852e.2.el7ost | Doc Type: | Enhancement |
| Doc Text: |
Feature:
It is not possible to deploy 'cinder-backup' in the overcloud using a Heat environment file when launching the stack deployment. The environment file which enables 'cinder-backup' is /usr/share/openstack-tripleo-heat-templates/environments/cinder-backup.yaml
The 'cinder-backup' service will initially support the use of Swift or Ceph as backends.
Reason:
The 'cinder-backup' service performs backups of Cinder volumes on backends different than the one where the volumes are stored.
Result:
The 'cinder-backup' service will be running in the overcloud if included at deployment time.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-14 15:15:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1262070 | ||
|
Description
Sean Cohen
2015-09-10 18:28:14 UTC
*** 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 |