Refine HTTP error code for os-interface
Bug #1380901 reported by
Qin Zhao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Qin Zhao |
Bug Description
Related bug --> https:/
When attaching interface to an instance, Neutron may return several types of error to Nova (Eg. PortNotFound, PortInUse and etc.) Nova need to translate those error into a correct HTTP error code, so that end user will be able to know the exact failure reason.
According to http://
PortNotFound 404
FixedIpAlreadyInUse 409
PortInUse 409
NetworkDuplicated 400
NetworkAmbiguous 400
NetworkNotFound 404
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/128191
Review: https:/