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.
Closes-Bug: #1198566
Change-Id: I9acd9112aeae8d3b3c0c3921f306e716e5808c2e
(cherry picked from commit 633bec8fd45897735e1fcb9844903fe597903b21)
Reviewed: https:/ /review. openstack. org/130119 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=3cdd0aaa674 00fcf6f04323c46 97ebed1966c65f
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 3cdd0aaa67400fc f6f04323c4697eb ed1966c65f
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 35e1fcb9844903f e597903b21)
Change-Id: I9acd9112aeae8d
(cherry picked from commit 633bec8fd458977