compute: Retain instance metadata for 'evacuate' on shared storage
When performing instance evacuation (which is essentially "rebuild an
instance elsewhere"), image metadata is not persistent -- this manifests
only when instances are on shared storage.
So, supply the original instance metadata to 'image_meta' parameter,
instead of an empty dict.
Reviewed: https:/ /review. openstack. org/311990 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=524d59e8c32 e0eb1ef7fc86d98 9897d52180ab83
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 524d59e8c32e0eb 1ef7fc86d989897 d52180ab83
Author: Kashyap Chamarthy <email address hidden>
Date: Fri Apr 22 12:12:26 2016 +0200
compute: Retain instance metadata for 'evacuate' on shared storage
When performing instance evacuation (which is essentially "rebuild an
instance elsewhere"), image metadata is not persistent -- this manifests
only when instances are on shared storage.
So, supply the original instance metadata to 'image_meta' parameter,
instead of an empty dict.
Change-Id: Ibea4954c149b9d cb162c5962ab8e9 a4f17e51a1d 966a70c873b8aa9 7e7eab4b10)
Co-Authored-By: Diana Clarke <email address hidden>
Closes-Bug: 1562681
(cherry picked from commit 82098d06dbaf401