Respond with 410 after upload if image was deleted
When updating the image after upload, we should return an
HTTPGone instead of a 500 error if the image cannot
be found.
This will provide more information to nova when this occurs
during snapshotting.
Reviewed: https:/ /review. openstack. org/44801 github. com/openstack/ glance/ commit/ 26a47e77238e98b 25d5943cfa7f24c b20304580c
Committed: http://
Submitter: Jenkins
Branch: master
commit 26a47e77238e98b 25d5943cfa7f24c b20304580c
Author: sridevik <email address hidden>
Date: Mon Sep 16 06:29:24 2013 -0500
Respond with 410 after upload if image was deleted
When updating the image after upload, we should return an
HTTPGone instead of a 500 error if the image cannot
be found.
This will provide more information to nova when this occurs
during snapshotting.
Fixes bug #1217838
Change-Id: I6e9875a9ff95ed 3e9c38685785473 138327ad4a1