Optional size parameter for snapshot and clone

Bug #1304463 reported by Juan Manuel Ollé
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Wishlist
Juan Manuel Ollé

Bug Description

When creating a volume from snapshot or cloning it the size parameter should be optional.

cinder create --snapshot-id 5eebad73-420f-4880-9526-333f768a3fc7

affects: cinder → python-cinderclient
Changed in python-cinderclient:
assignee: nobody → Juan Manuel Ollé (juan-m-olle)
Jay Bryant (jsbryant)
Changed in python-cinderclient:
status: New → Confirmed
Revision history for this message
Jay Bryant (jsbryant) wrote :

Interesting. You are correct that the command fails if no size is given to the command. It appears that the size parameter is allowed so that the user can create a volume from the snapshot that is larger than the original. It properly prevents you from creating a volume of a lesser size than the snapshot. I guess I can see that the option is somewhat unnecessary if you don't want to change the size of the new volume.

I am going to call this a wishlist item as it isn't really a bug, but seems like something we could change.

Changed in python-cinderclient:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/86131

Changed in python-cinderclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/86131
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=bd361644f73b7a688d45f67621b1a08f513fa024
Submitter: Jenkins
Branch: master

commit bd361644f73b7a688d45f67621b1a08f513fa024
Author: Juan Manuel Olle <email address hidden>
Date: Tue Apr 8 16:38:36 2014 -0300

    Optional size parameter for volume creation

    This patch makes optional the parameter size
    for creating a volume from a snapshot or other
    volume.
    The parameter is still required for other
    kind of volume creation.

    Change-Id: I75dcf0e647f6e82a2407bcf23ef359f5f87323e8
    Closes-Bug: #1304463

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.