libvirt-enable suppport for discard option for cinder-volume managed by nova
This blueprint aims to support specifying the discard option for "cinder volume" when it is attached to VM by nova.
[Background]
Supporting for discard option for disks managed by nova is already implemented.
(please see this :
http://
And this feature only can support for nova instance not cinder volume.
It means that supporting for discard option for "cinder volume" is not implemented yet.
When cinder volume is created as thin provisioned, it should be attach with discard option for reclaim.
[Benefit for the user]
1.
Useful for cinder volume to recycle the unused block in thin provision case.
[Usage]
Support the user to specify the discard metadata for a volume when attach volume to VM.
Such as:
"
1. create cinder volume
2. update metadata of cinder volume
ex) cinder metadata [volume uuid] set hw_disk_
3. attach volume to VM
ex) nova volume-attach [vm uuid] [volume-uuid]
"
[Todo]
1. support discard option for cinder volume when attach volume to VM with cinder metadata.
Blueprint information
- Status:
- Not started
- Approver:
- John Griffith
- Priority:
- Undefined
- Drafter:
- Hyun Ha
- Direction:
- Needs approval
- Assignee:
- Hyun Ha
- Definition:
- New
- Series goal:
- Proposed for trunk
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Please note you need to submit a nova-spec to get this blueprint approved for liberty. http://