← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482101] Re: No response is received while changing image's status

 

Reviewed:  https://review.openstack.org/215793
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=2ed6a71c5fe526b7a0a5e718e8cd636e5d2cb424
Submitter: Jenkins
Branch:    master

commit 2ed6a71c5fe526b7a0a5e718e8cd636e5d2cb424
Author: Diane Fleming <diflemin@xxxxxxxxx>
Date:   Fri Aug 21 16:43:32 2015 -0500

    Update response code to 204 for reactivate and deactivate image
    
    Also, made a few small edits
    
    Change-Id: I34105fbcf3ceee994751f6bc4b9b4b19d742ff5d
    Closes-Bug: #1482101


** Changed in: openstack-api-site
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1482101

Title:
  No response is received while changing image's status

Status in Glance:
  Invalid
Status in openstack-api-site:
  Fix Released

Bug description:
  While changing the status of any image in glance no status code or
  response is returned.

  Steps to reproduce:-

  1. Get a token using curl request using admin's credentials.
  2. Deactivate any image using curl POST request.
  3. Check the status of same image using curl request.
  4. Reactivate the same image using curl POST request.
  5. Check the status of same image using curl request.

  
  Observations:-
  1. On Both status change Glance api doesn't returns any status code or status message showing success or failure of the action.
  2. But while checking the status of the image using curl request it shows the successful change in the status.

  
  Requirement:-

  1. This needs to be fixed as it is not possible for any user to make sure that the action has been successful or not.
  2. For automation purpose it is not possible to automate any case based on status change of the image if no status is returned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482101/+subscriptions


References