Revert "Outputs the message about failing to bind
This reverts commit 8b59396182
.
This commit broke the ability to create Iscsi targets w/
cinder-rtstool. Everything seems to be working fine except there
are issues with regards to how rtstool output is parsed in that
any output (regardless of exit status) causes the command
to be marked as failed.
Suggesting this as a quick revert until we can investigate
the proper fix for error handling with cinder-rtstool.
Change-Id: I439433571ed1d01d162f685f8441b28bd6bffa43
Closes-bug: #1405228
This commit is contained in:
parent
7588e834b4
commit
892afe9aa5
|
@ -78,7 +78,7 @@ def create(backing_device, name, userid, password, initiator_iqns=None):
|
|||
rtslib.NetworkPortal(tpg_new, '::0', 3260, mode='any')
|
||||
except rtslib.utils.RTSLibError:
|
||||
# TODO(emh): Binding to IPv6 fails sometimes -- let pass for now.
|
||||
print(_('Failed to bind to IPv6.'))
|
||||
pass
|
||||
|
||||
|
||||
def _lookup_target(target_iqn, initiator_iqn):
|
||||
|
|
Loading…
Reference in New Issue