Support backup and restore on xiv/ds8k driver

Registered by Alon Marx

Currently xiv/ds8k driver does not support backup and restore functionality. In order to support it we plan to follow implementations in other drivers.

The implementation for backup_volume:
1. create a snapshot (to be deleted before function ends)
2. attach to snapshot
3. run backup_service.backup on the attached snapshot
4. detach from snapshot
5. delete snapshot
Notes:
a. need to take care of cleanups in case of errors: detach and snapshot deletion.
b. the snapshot will take care of any changes in the volume while backup is running

The implementation for restore_backup
1. attach to volume
2. run backup_service.restore on the attached volume
3. detach volume

Blueprint information

Status:
Complete
Approver:
Mike Perez
Priority:
Low
Drafter:
Alon Marx
Direction:
Approved
Assignee:
Alon Marx
Definition:
Obsolete
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Mike Perez
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.

Gerrit topic: https://review.openstack.org/#q,topic:bp/xiv-ds8k-backup,n,z

Addressed by: https://review.openstack.org/118298
    Add support for backups to xiv_ds8k driver

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.