← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245696] Re: Fix response code and improve error message network not found

 

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

-- 
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/1245696

Title:
  Fix response code and improve error message network not found

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When booting an instance if the network_uuid is not of a valid network
  the following error is returned:

  ERROR: The resource could not be found. (HTTP 404) (Request-ID: req-
  f86b297f-bbec-4ca1-93f9-f495250f1a3f) (This doesn't really tell the
  user what resource is not found which should be improved).

  In addition  http response code should be 400 not 404 to align with other resources i.e security_groups: 
  ERROR: Unable to find security_group with name 'asdfasdf' (HTTP 400) (Request-ID: req-ff8b528a-50cf-4ca5-9598-b9ed1a69482d)

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