commit 536bcbd2ce0822bec757f7ec949b9f70df20c966
Author: He Jie Xu <email address hidden>
Date: Wed Jul 23 12:30:26 2014 +0800
Fix extra metadata didn't assign into snapshot image
create_image action API accept metadata parameter to add extra
metadata into snapshot image. But the current code doesn't work
for snapshot of volume based instance. This error is because the
code use var 'props' to store extra metadatas, and the code use
same var to store root bdm metadata later, then the extra metadata
is overwritten by root bdm metadata. This patch use another var
'properties' to store root bdm metadata to avoid overwrite the
extra metadata.
Reviewed: https:/ /review. openstack. org/108888 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=536bcbd2ce0 822bec757f7ec94 9b9f70df20c966
Committed: https:/
Submitter: Jenkins
Branch: master
commit 536bcbd2ce0822b ec757f7ec949b9f 70df20c966
Author: He Jie Xu <email address hidden>
Date: Wed Jul 23 12:30:26 2014 +0800
Fix extra metadata didn't assign into snapshot image
create_image action API accept metadata parameter to add extra
metadata into snapshot image. But the current code doesn't work
for snapshot of volume based instance. This error is because the
code use var 'props' to store extra metadatas, and the code use
same var to store root bdm metadata later, then the extra metadata
is overwritten by root bdm metadata. This patch use another var
'properties' to store root bdm metadata to avoid overwrite the
extra metadata.
Change-Id: I2224905f596690 e22aa71dc654128 4f005ebba9d
Closes-Bug: #1347355