Provide unique names on taskflow operations
The vscsi taskflow operations should be given unique names. If not, the duplicate names can occur when there are multiple Virtual I/O Servers. Change-Id: Ib095fec0d7a083d929e810112a08b4aa79ba7228 Closes-Bug: 1486045
This commit is contained in:
parent
108b836155
commit
be81ba4984
@ -242,7 +242,8 @@ class VscsiVolumeAdapter(v_driver.FibreChannelVolumeAdapter):
|
||||
"%(disk)s from the Virtual I/O Server."),
|
||||
{'disk': device_name})
|
||||
LOG.warn(e)
|
||||
self.tx_mgr.add_post_execute(task.FunctorTask(rm_hdisk))
|
||||
name = 'rm_hdisk_%s_%s' % (vio_wrap.name, device_name)
|
||||
self.tx_mgr.add_post_execute(task.FunctorTask(rm_hdisk, name=name))
|
||||
|
||||
def wwpns(self):
|
||||
"""Builds the WWPNs of the adapters that will connect the ports.
|
||||
|
Loading…
x
Reference in New Issue
Block a user