Implement handle_update for cinder volume class

Registered by Denis M.

Since Cinder API v1 allows to resize/extend volumes, heat should be able to update CinderVolume resource.

Flow:
1. Detach
2. Poll until volume status is "Available".
3. Extend with given size, cinder would handle extend exceptions.
4. Poll until volume would reach expected size and appropriate state.
5. Attach

http://stackalytics.com/report/blueprint/trove/implement-volume-extend - already implemented and merged

Blueprint information

Status:
Complete
Approver:
Zane Bitter
Priority:
Medium
Drafter:
Pavlo Shchelokovskyy
Direction:
Approved
Assignee:
Pavlo Shchelokovskyy
Definition:
Pending Approval
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Pavlo Shchelokovskyy
Completed by
Zane Bitter

Related branches

Sprints

Whiteboard

(pshchelo) volume extension supposes that the user is responsible for safe unmounting volumes from within an instance and then mounting them back and re-sizing partitions after volume is extended and reattached. Trove's guestagent already supports such workflow [1]
[1] https://github.com/openstack/trove/blob/master/trove/guestagent/volume.py#L33

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-cinder-volume,n,z

Addressed by: https://review.openstack.org/96129
    Implement resize of Cinder volumes

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.