Add volume metadata support to Cinder backup

Registered by Edward Hope-Morley on 2013-10-21

Creating this blueprint to cover the work required for https://bugs.launchpad.net/cinder/+bug/1137908 which will require modifications to all existing ceph backup drivers (Ceph, Swift and TSM).

A bit more info:

Following dicussions with the cinder team there are mixed opinions about how best to do this. To resolve this lets be clear on the objective. When we backup a volume in cinder we want to be able to revover that volume even if the database and/or cinder cluster go offline, perhaps by restoring to a new cloud. In order to facilitate this it would be necessary to backup all required metadata to rebuild an equivalent volume.

What is proposed here is to have a versioned interface that each backup driver can call to retrieve a 'complete' set of metadata required to reconstruct a volume following total loss of the original metadata.

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Medium
Drafter:
Edward Hope-Morley
Direction:
Approved
Assignee:
Edward Hope-Morley
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Edward Hope-Morley on 2013-10-22
Completed by
Edward Hope-Morley on 2014-02-18

Related branches

Sprints

Whiteboard

avishay: So we need an import_backup API as well, if there our database got wiped out and we want to import an existing backup.

@avishay: yes indeed, that has been dicussed too i.e. what do we do if we lose our cloud and want to restore from our backups - import tool/api. That will require a blueprint of its own.

@avishay: https://blueprints.launchpad.net/cinder/+spec/cinder-backup-recover-api

Gerrit topic: https://review.openstack.org/#q,topic:bug/1137908,n,z

Addressed by: https://review.openstack.org/51900
    Adds volume metadata to backups

(?)

Work Items

Work items:
Add cinder backup metadata support to Ceph driver: DONE

This blueprint contains Public information 
Everyone can see this information.