← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I would argue that the API documentation is wrong, not the
implemenation. A 204 here makes perfect sense.

** Also affects: openstack-api-site
   Importance: Undecided
       Status: New

** Changed in: openstack-api-site
       Status: New => Confirmed

** Changed in: glance
       Status: New => Invalid

-- 
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:
  Confirmed

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