← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155458] Re: 500 response when trying to create a server from a deleted image

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1155458

Title:
  500 response when trying to create a server from a deleted image

Status in OpenStack Compute (Nova):
  Fix Released
Status in “nova” package in Ubuntu:
  In Progress

Bug description:
  After an image cleanup, I noticed the API will return a 500 if I try
  to create a server with an id of an image that has been deleted. The
  expected behavior would be a 400 stating that the user provided a bad
  image id. This is the current behavior if I pass in a random invalid
  id.

  Steps to reproduce:

  1. Take a snapshot of an existing server and note the id

  2. Delete the snapshot

  3. Try to create a new server using the id of the deleted image.
  Instead of a 400 Bad Request (no image found), a generic 500 is
  returned

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