reset-state for attach and migrate status aren't implemented in cinderclient

Bug #1309086 reported by John Griffith
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Medium
Tomoki Sekiyama

Bug Description

Currently the reset-state command in the client only handles the main volume status column. Attach and Migrate status are also available options that should be exposed.

Changed in python-cinderclient:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → John Griffith (john-griffith)
Revision history for this message
yatin (yatinkarel) wrote :

Hi John,

Volumes also have ['attaching', 'in-use', 'detaching] states as specified in api. These states are not available when we run "cinder help reset-state". I think this should be added. Should i file a new bug or fix in this already logged bug as a partial-fix.

yatin (yatinkarel)
Changed in python-cinderclient:
assignee: John Griffith (john-griffith) → yatin (yatinkarel)
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/159709

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

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

commit f47f973d9b15599983224c05c1408ee723236ea2
Author: yatin karel <email address hidden>
Date: Fri Mar 6 01:39:52 2015 +0530

    Updated help on cinder reset-state cli

    volumes also have 'in-use', 'attaching' and 'detaching' states.
    These were missing in cinder help for reset-state cli. I have added
    these in help.

    Partial-Bug: #1309086

    Change-Id: I094a61dd4921bed83e97134a4bfbcdc7d0c9ad63

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/164309

Changed in python-cinderclient:
assignee: yatin (yatinkarel) → Tomoki Sekiyama (tsekiyama)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

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

commit 0f1cbc9e1f72c5ecd4c21b533bb03a8a9640f4c9
Author: Tomoki Sekiyama <email address hidden>
Date: Fri Mar 13 14:40:33 2015 -0400

    Implement reset-state for attach_status and migration_status

    Currently the reset-state command in the client only handles
    the main volume status column. This adds options to set
    attach_status and to reset migration_status.

    DocImpact: Add new options to cinder reset-state command
    Change-Id: Ifaa04c2f8a7ff21100f7c9c51df881313e8babea
    Closes-Bug: #1309086

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 1.4.0

This issue was fixed in the openstack/python-cinderclient 1.4.0 release.

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.