reactivate/deactivate image using CLI

Bug #1508356 reported by Tim Bell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Undecided
Darja Shakhray

Bug Description

There does not seem to be a CLI option to use the activate/deactive image functionality as described in http://www.sebastien-han.fr/blog/2015/05/06/openstack-glance-deactivate-an-image/. The API is available as described in http://developer.openstack.org/api-ref-image-v2.html.

Would it be possible to add this to glanceclient since it is a very useful function for administrators and the curl syntax is difficult to use.

Changed in python-glanceclient:
assignee: nobody → Kairat Kushaev (kkushaev)
Changed in python-glanceclient:
assignee: Kairat Kushaev (kkushaev) → dshakhray (dshakhray)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-glanceclient (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/238942

Alexey Galkin (agalkin)
Changed in python-glanceclient:
status: New → Confirmed
Changed in python-glanceclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/238968
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=bff356ed7393f538f35d896dd6201698a91355f8
Submitter: Jenkins
Branch: master

commit bff356ed7393f538f35d896dd6201698a91355f8
Author: Darja Shakhray <email address hidden>
Date: Fri Oct 23 18:25:25 2015 +0300

    Added reactivate/deactivate image using CLI

    Added commands 'glance image-reactivate image_id'
    and 'glance image-deactivate image_id' for
    reactivate/deactivate image using CLI

    DocImpact

    Change-Id: I2c370c6bf6ff664d94d756cc76aaa983fbdb8869
    Closes-bug: #1508356

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

Reviewed: https://review.openstack.org/238942
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=0ac91856caf274cee92c1261dfd9cb652f1c665f
Submitter: Jenkins
Branch: master

commit 0ac91856caf274cee92c1261dfd9cb652f1c665f
Author: Alexey Galkin <email address hidden>
Date: Fri Oct 23 17:20:05 2015 +0300

    Fix 'test_help' for shell client.

    Added new items in 'wanted_commands'.

    Related bug: #1508356

    Change-Id: I21ca66d51ace18ac58d33d5d542f805150cb8e4f

Changed in python-glanceclient:
milestone: none → 1.2.0
status: Fix Committed → Fix Released
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.