Avoid errors on some actions when image not usable
Using the metadata saved on instance creation, we can now get all the
image related metadata we need from the instance itself.
This patch replace the logic for getting the image metadata on some
actions that shouldn't fail when the image is not accessible (create
an snapshot, resize, migrate, rescue an instance or attach an
interface).
Reviewed: https:/ /review. openstack. org/43784 github. com/openstack/ nova/commit/ 4389f2292a0177c 8eedc0a398ceb3c 5535a9ef82
Committed: http://
Submitter: Jenkins
Branch: master
commit 4389f2292a0177c 8eedc0a398ceb3c 5535a9ef82
Author: Xavier Queralt <email address hidden>
Date: Mon Aug 26 22:55:46 2013 +0200
Avoid errors on some actions when image not usable
Using the metadata saved on instance creation, we can now get all the
image related metadata we need from the instance itself.
This patch replace the logic for getting the image metadata on some
actions that shouldn't fail when the image is not accessible (create
an snapshot, resize, migrate, rescue an instance or attach an
interface).
Fixes bug 1039662
Change-Id: Id8c2f13ca96908 317d271a84fd685 104b64f87e9