]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Outputs the message about failing to bind to IPv6
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Wed, 17 Dec 2014 14:26:36 +0000 (16:26 +0200)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Mon, 22 Dec 2014 12:39:55 +0000 (12:39 +0000)
Change-Id: I85d9bffc4f848a38fd11784e6634fd014cc43001

cinder/cmd/rtstool.py

index 76c4d11b376368440e80bbd38e9c23501f91e633..a0f190f2428a799c9450932fabd9fda51049e6cd 100644 (file)
@@ -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.
-        pass
+        print(_('Failed to bind to IPv6.'))
 
 
 def _lookup_target(target_iqn, initiator_iqn):