Cinder volume retype is missing for V1 API

Bug #1316939 reported by Abhijeet Jain
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Won't Fix
Undecided
Vincent Hou

Bug Description

Cinder has the volume retype CLI defined only for V2 API not for V1 API.
but CINDER volume retype API exists for both V1 and V2.

API :
/v1/<tenant-id>/volumes/<volume-id>/action '{"os-retype": {"new_type": <new_type>, "migration_policy": <policy>}}

/v2/<tenant-id>/volumes/<volume-id>/action '{"os-retype": {"new_type": <new_type>, "migration_policy": <policy>}}

CLi :

cinder --os-volume-api-version 2 retype
usage: cinder retype [--migration-policy <never|on-demand>]
                     <volume> <volume-type>

cinder --os-volume-api-version 1 retype
error: argument <subcommand>: invalid choice: u'retype'
Try 'cinder help ' for more information.

Changed in python-cinderclient:
assignee: nobody → Abhijeet Jain (abhijeet-jain)
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/92768

Changed in python-cinderclient:
status: New → In Progress
description: updated
Changed in python-cinderclient:
assignee: Abhijeet Jain (abhijeet-jain) → Vincent Hou (houshengbo)
Eric Harney (eharney)
Changed in python-cinderclient:
status: In Progress → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-cinderclient (master)

Change abandoned by Eric Harney (<email address hidden>) on branch: master
Review: https://review.openstack.org/92768

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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