]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add an ID to temporary volume snapshot object
authorjohn-griffith <john.griffith@solidfire.com>
Thu, 14 Feb 2013 19:00:47 +0000 (12:00 -0700)
committerjohn-griffith <john.griffith@solidfire.com>
Thu, 14 Feb 2013 19:05:19 +0000 (12:05 -0700)
commit9627e6db42a5dbf0db5aebfc363cf5d1156a2f06
tree9998c7f46a7e26a223c2d2f5e1ef08742fa0e5ec
parent275ce2d171d847ede99162a3dbf85d87999a7298
Add an ID to temporary volume snapshot object

The create_cloned_volum method creates a temp snapshot and
when it's done it uses the standard snapshot_delete method
in the LVM driver.

A change was added that logs a statement using the object[id],
but we weren't actually setting this on our temp object so we
would get a trace fo key DNE.  This change adds an id key to
our temp object.

Fixes bug: 1125457

Change-Id: I4d886f2738a3c394a3a3a6373045669cf6bf8aaf
cinder/volume/drivers/lvm.py