5b4bd2aa16
When attaching interface to an instance, Neutron may return several types of errors. Nova need to translate those errors into appropriate HTTP error codes, so that end user will be able to know the exact failure reason. Propose to change the following mappings: PortNotFound - 400 --> 404 PortInUse - 400 --> 409 NetworkNotFound - 400 --> 404 FixedIpAlreadyInUse - 400 --> 409 In order to keep V2 api backward-compatibility, only propose to adjust the error code of V2.1/V3 api. Change-Id: Icc80c1f847bb9c5737e7282ce8543be52cde8f89 Closes-Bug: 1380901 |
||
---|---|---|
.. | ||
ec2 | ||
openstack | ||
__init__.py | ||
test_auth.py | ||
test_compute_req_id.py | ||
test_validator.py | ||
test_wsgi.py |