nova/nova/api
Sivasathurappan Radhakrishnan 8ebdd91d46 Return 400 when compute host is not found
Previously user was getting a 500 error code for ComputeHostNotFound
if they are using latest microversion that does live migration in
async. This patches changes return response to 400 as 500 internal
server error should not be returned to the user for failures due to
user error that can be fixed by changing to request on client side.

Change-Id: I7a9de211ecfaa7f2816fbf8bcd73ebbdd990643c
closes-bug:1643623
(cherry picked from commit fb68fd12e2)
2018-03-08 06:24:09 +00:00
..
ec2 delete more i18n log markers 2017-03-21 07:37:21 -04:00
metadata Handle InstanceNotFound when setting password via metadata 2017-11-14 11:59:58 -05:00
openstack Return 400 when compute host is not found 2018-03-08 06:24:09 +00:00
validation fix nova accepting invalid availability zone name with ':' 2017-10-04 17:49:59 -04:00
__init__.py Remove unused copyright from nova.api.__init__ 2014-01-10 16:24:50 +08:00
auth.py delete more i18n log markers 2017-03-21 07:37:21 -04:00
compute_req_id.py Migrate to oslo request_id middleware - mv 2.46 2017-05-27 10:11:44 +00:00
manager.py Only setup iptables for metadata if using nova-net 2017-07-20 00:00:22 +00:00