Update vscsi to support hdisk removal
The disconnect volume code path requires some updated to support hdisk removal. Change-Id: Icff111ce1de8eaef2fc67caca38fe5a407645b1a
This commit is contained in:
parent
0fc5feea73
commit
2712f79a0c
@ -216,8 +216,8 @@ class VscsiVolumeAdapter(v_driver.FibreChannelVolumeAdapter):
|
||||
partition_id, device_name)
|
||||
|
||||
# TODO(IBM): New method coming to support remove hdisk
|
||||
if CONF.enable_remove_hdisk:
|
||||
hdisk.remove_hdisk(adapter, CONF.host_display_name,
|
||||
if CONF.enable_hdisk_removal:
|
||||
hdisk.remove_hdisk(adapter, CONF.host,
|
||||
device_name, vio_wrap.uuid)
|
||||
|
||||
# Disconnect volume complete, now remove key
|
||||
|
Loading…
Reference in New Issue
Block a user