Skip to content

Commit d170adb

Browse files
committed
Use netapp_host instead of scheduler host
Change-Id: I28f2c27d2c3e9bcb74e044a1ad43244862e69a64
1 parent eb0b9c2 commit d170adb

File tree

1 file changed

+1
-1
lines changed
  • cinder/volume/drivers/vmware

1 file changed

+1
-1
lines changed

cinder/volume/drivers/vmware/fcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,6 @@ def migrate_to_kvm(self, context, volume, host):
11201120
provider_location = self.volumeops._get_mount_path(fcd_loc.ds_ref())
11211121
volume.update({'provider_location': provider_location})
11221122
volume.save()
1123-
new_host = "%s#%s" % (host['host'].split['#'][0], provider_location)
1123+
new_host = "%s#%s" % (netapp_host.split['#'][0], provider_location)
11241124
model_updates = {'host': new_host}
11251125
return (True, model_updates)

0 commit comments

Comments
 (0)