Automatically use minimum size when creating volume from image
Bug #1231298 reported by
Thomas Herve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Medium
|
Sandhya Ganapathy |
Bug Description
When one creates a volume from a snapshot or another volume, the size argument is calculated automatically. In the case of an image it needs to be specify though, for something larger than the image min_disk attribute. It would be nice to automatically get that size if it's not passed.
Changed in cinder: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
status: | Confirmed → Triaged |
Changed in cinder: | |
assignee: | nobody → Florent Flament (florent-flament-ext) |
Changed in cinder: | |
importance: | Wishlist → Medium |
Changed in cinder: | |
assignee: | Florent Flament (florent-flament-ext) → nobody |
Changed in cinder: | |
milestone: | none → next |
Changed in cinder: | |
assignee: | nobody → Vilobh Meshram (vilobhmm) |
Changed in cinder: | |
assignee: | Vilobh Meshram (vilobhmm) → nobody |
Changed in cinder: | |
assignee: | nobody → sandhya (sandhya-ganapathy) |
To post a comment you must log in.
John,
I haven't been able to create a volume from a snapshot or another
volume without specifying the new volume's size.
$ cinder create --snapshot-id 5eebad73- 420f-4880- 9526-333f768a3f c7 f0b1-4276- bf20-bbf09b308d fa
...
error: too few arguments
...
$ cinder create --source-volid 4d99648b-
...
error: too few arguments
...
Could you please provide me with the commands that would allow the
automatic computation of a volume's size, when created from a snapshot
or another volume?
When using the "cinder create" command, the feature allowing the
minimum size's automatic computation would have to be implemented in
the 3 scenarios: when creating a volume from a snapshot, an image and
another volume.