Add ability to deactivate an image

Bug #1432342 reported by OpenStack Infra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

https://review.openstack.org/132717
commit b000c85b7fabbe944b4df3ab57ff73883328f40d
Author: Eddie Sheffield <email address hidden>
Date: Mon Nov 3 20:29:41 2014 -0500

    Add ability to deactivate an image

    This patch provides the ability to 'deactivate' an image by
    providing two new API calls and a new image status 'deactivated'.
    Attempting to download a deactivated image will result in a
    403 'Forbidden' return code. Also, image locations won't be visible
    for deactivated images unless the user is admin.
    All other image operations should remain unaffected.

    The two new API calls are:
        - POST /images/{image_id}/actions/deactivate
        - POST /images/{image_id}/actions/reactivate

    DocImpact
    UpgradeImpact

    Change-Id: I32b7cc7ce8404457a87c8c05041aa2a30152b930
    Implements: bp deactivate-image

Tags: glance
Tom Fifield (fifieldt)
affects: openstack-manuals → openstack-api-site
Revision history for this message
Anne Gentle (annegentle) wrote :

To add this to the documentation on the API Reference at http://developer.openstack.org/api-ref-image-v2.html you should add these two new calls to the WADL file here:

https://github.com/openstack/api-site/blob/master/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl

Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on api-site (master)

Change abandoned by Diane Fleming (<email address hidden>) on branch: master
Review: https://review.openstack.org/184934
Reason: abandon this change

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

Reviewed: https://review.openstack.org/184933
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=506e54aae7a4ad1807faea922891ce6c5338d323
Submitter: Jenkins
Branch: master

commit 506e54aae7a4ad1807faea922891ce6c5338d323
Author: Diane Fleming <email address hidden>
Date: Thu May 21 21:03:21 2015 -0500

    Add reactivate and deactivate methods for Image v2

    Also, fix file permissions on some sample files for Image v2

    Change-Id: I71c005baba9408dfae6e4365e5c7a4cea91dab0e
    Closes-Bug: #1432342

Changed in openstack-api-site:
status: In Progress → 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.