Add reset-state function for backups

Registered by ling-yun on 2014-06-04

Since there are volume reset-state function and snapshot reset-state function, backup also needs reset-state as well.
Use backup-create routine as an example to illustrate what benefit we can get from backup-reset function.
Backup-create routine first backup volume and metadata, and then update the status of volume and backup. If database just went down after update the volume's status to 'available', leaving the backup's status to be 'creating' without having methods to deal with through API.
If we have reset-state API, we could change the backup's status to available without manually change the backup's status in db, which could be a good mean for maintainers with little risk.

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Low
Drafter:
ling-yun
Direction:
Needs approval
Assignee:
ling-yun
Definition:
New
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
ling-yun on 2014-09-14
Completed by
ling-yun on 2014-09-14

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/for,n,z

Addressed by: https://review.openstack.org/98316
    Add blueprint for support-reset-state-for-backup

You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.

Gerrit topic: https://review.openstack.org/#q,topic:bp/is,n,z

Addressed by: https://review.openstack.org/116849
    Add reset-state function for backups

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.