If image is not present at the specified location while creating instance
from image, then HTTPInternalServerError 500 response along with stack trace
is logged on nova compute which does not help user to understand the exact
cause of failure.
Return HTTPNotFound error to the nova compute in case of image url got
expired or image is not present at the given location to give clear
indication of the cause of failure to user.
Reviewed: https:/ /review. openstack. org/128202 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=633bec8fd45 897735e1fcb9844 903fe597903b21
Committed: https:/
Submitter: Jenkins
Branch: master
commit 633bec8fd458977 35e1fcb9844903f e597903b21
Author: ankitagrawal <email address hidden>
Date: Fri Oct 10 05:31:46 2014 -0700
Improve error log for expired image location url
If image is not present at the specified location while creating instance verError 500 response along with stack trace
from image, then HTTPInternalSer
is logged on nova compute which does not help user to understand the exact
cause of failure.
Return HTTPNotFound error to the nova compute in case of image url got
expired or image is not present at the given location to give clear
indication of the cause of failure to user.
Closes-Bug: #1198566 3b3c0c3921f306e 716e5808c2e
Change-Id: I9acd9112aeae8d