Fix response code and improve error message network not found
Bug #1245696 reported by
Aaron Rosen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Aaron Rosen |
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-
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-
Changed in nova: | |
assignee: | nobody → Aaron Rosen (arosen) |
tags: | added: network |
Changed in nova: | |
milestone: | none → icehouse-2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/54202
Review: https:/