commit 43ad0a2b1c7dea2c6f8888b28a61857c81067a16
Author: Matt Riedemann <email address hidden>
Date: Sat Aug 3 13:15:12 2013 -0700
Raise 404 when instance not found in admin_actions API
The pause/unpause/suspend/resume/reset_network admin action APIs do not
handle the case where the instance in the request is not found and they
raise HTTPUnprocessableEntity (code 422) instead. There are several
other operations in the same API which handle the 404 case and translate
it correctly, this patch cleans up the rest.
Reviewed: https:/ /review. openstack. org/40070 github. com/openstack/ nova/commit/ 43ad0a2b1c7dea2 c6f8888b28a6185 7c81067a16
Committed: http://
Submitter: Jenkins
Branch: master
commit 43ad0a2b1c7dea2 c6f8888b28a6185 7c81067a16
Author: Matt Riedemann <email address hidden>
Date: Sat Aug 3 13:15:12 2013 -0700
Raise 404 when instance not found in admin_actions API
The pause/unpause/ suspend/ resume/ reset_network admin action APIs do not leEntity (code 422) instead. There are several
handle the case where the instance in the request is not found and they
raise HTTPUnprocessab
other operations in the same API which handle the 404 case and translate
it correctly, this patch cleans up the rest.
Closes-Bug: #1204999
Change-Id: If54d6be99db55b 4f99da11fe75c14 bf21685e809