NFS: Log exception when update_migrated_volume fails
There isn't enough log context here to debug
some failures, ensure that the OSError exception
information is logged to provide sufficient info.
Closes-Bug:
@@ -471,7 +471,7 @@ class NfsDriver(remotefs.RemoteFSSnapDriverDistributed):
try:
os.rename(current_path, original_path)
except OSError:
- LOG.error('Unable to rename the logical volume '
+ LOG.exception('Unable to rename the logical volume '
'for volume: %s', volume.id)
# If the rename fails, _name_id should be set to the new
# volume id and provider_location should be set to the
