]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix a message format error in migration cleanup
authorJuan Manuel Olle <juan.m.olle@intel.com>
Thu, 22 May 2014 13:24:36 +0000 (10:24 -0300)
committerJuan Manuel Olle <juan.m.olle@intel.com>
Thu, 29 May 2014 17:35:27 +0000 (14:35 -0300)
commit7521e6dce39a9ec99d35892780a39bf8049e38db
treeb57d35c5d43b0bd16a34adeaa9c47bde2ebc11e0
parentaa9e6dca05e82187411696304811491be96e882a
Fix a message format error in migration cleanup

In some situations, the volume migration failed. After the cleanup
begin, code was trying to format a string value as an int,
this caused "copy_error = True" not being invoked, resulted
in UnboundLocalError exception.

Change-Id: I445394cc06fe221804901e8014d60e870f0fe2f7
Closes-Bug: #1290317
cinder/volume/driver.py