diff options
author | Zhou ShaoYu <hzzhoushaoyu@corp.netease.com> | 2013-01-29 15:33:46 +0800 |
---|---|---|
committer | Zhou ShaoYu <hzzhoushaoyu@corp.netease.com> | 2013-01-29 15:53:24 +0800 |
commit | 84a83c67d81f41c00ca9259ebebec97e6e7788bb (patch) | |
tree | 2ed13954203509a2e28fb4198d7995a85b890898 /nova/exception.py | |
parent | ce09c50c9253131396f713edbf11ca427341be0e (diff) | |
download | nova-84a83c67d81f41c00ca9259ebebec97e6e7788bb.tar.gz nova-84a83c67d81f41c00ca9259ebebec97e6e7788bb.tar.xz nova-84a83c67d81f41c00ca9259ebebec97e6e7788bb.zip |
Fix boot with image not active
When boot with image which is not active, nova API response
with http status code 500. We should catch the exception and
raise HTTPBadRequest with more precise information.
Fix LP# 1108645
Change-Id: Ibd78f4b96bfdb925b03d7809d4e28afcc7e1ddcf
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions