reset-state: update valid states help text

Bug #1333911 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
New
Undecided
chandan kumar

Bug Description

https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v1/shell.py#L328

It currently says:

help=('The state to assign to the volume. Valid values are '
                 '"available," "error," "creating," "deleting," or '
                 '"error_deleting." '
                 'OPTIONAL: Default is "available."'))

It should be updated. From https://github.com/openstack/cinder/blob/master/cinder/api/contrib/admin_actions.py#L38 and here: https://github.com/openstack/cinder/blob/master/cinder/api/contrib/admin_actions.py#L123, it seems there are 8 valid states:

'creating', 'available', 'deleting', 'error', 'error_deleting', 'attaching', 'in-use', 'detaching'

Changed in python-cinderclient:
assignee: nobody → chandankumar (chandankumar-093047)
Revision history for this message
Russell Sim (russell-sim) wrote :

This is fixed in upstream.

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.