Public bug reported:

== Comment: #0 - ABDUL HALEEM <abdha...@in.ibm.com> - 2016-11-22 05:43:47 ==
+++ Problem Description +++

Network portal creation failed with these errors

/iscsi/iqn.20.../tpg1/portals> create 0.0.0.0
Using default IP port 3260
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 990, in 
run_interactive
    self._cli_loop()
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 820, in 
_cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 934, in 
run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 909, in 
_execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 104, in 
execute_command
    pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1416, in 
execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_target.py", line 932, in 
ui_command_create
    elif ip_address not in utils.list_eth_ips() and not listen_all:
  File "/usr/lib/python2.7/dist-packages/rtslib/utils.py", line 646, in 
list_eth_ips
    ifaddresses = netifaces.ifaddresses(iface)
ValueError: You must specify a valid interface name.


detail logs :  there were no errors in dmesg/syslogs
-----------------

/iscsi> ls
o- iscsi 
................................................................................................................
 [1 Target]
  o- iqn.2016-11.com.virttest:emulated-image.target 
........................................................................ [1 TPG]
    o- tpg1 
..............................................................................................................
 [enabled]
      o- acls 
.............................................................................................................
 [0 ACLs]
      o- luns 
.............................................................................................................
 [0 LUNs]
      o- portals 
.......................................................................................................
 [0 Portals] 
/iscsi> cd iqn.2016-11.com.virttest:emulated-image.target
/iscsi/iqn.20...-image.target> ls
o- iqn.2016-11.com.virttest:emulated-image.target 
.......................................................................... [1 
TPG]
  o- tpg1 
................................................................................................................
 [enabled]
    o- acls 
...............................................................................................................
 [0 ACLs]
    o- luns 
...............................................................................................................
 [0 LUNs]
    o- portals 
.........................................................................................................
 [0 Portals]
/iscsi/iqn.20...-image.target> cd tpg1/
/iscsi/iqn.20...e.target/tpg1> ls
o- tpg1 
..................................................................................................................
 [enabled]
  o- acls 
.................................................................................................................
 [0 ACLs]
  o- luns 
.................................................................................................................
 [0 LUNs]
  o- portals 
...........................................................................................................
 [0 Portals]
/iscsi/iqn.20...e.target/tpg1> cd portals
/iscsi/iqn.20.../tpg1/portals> ls
o- portals 
.............................................................................................................
 [0 Portals]


uname -a
Linux lep8b 4.8.0-26-generic #28-Ubuntu SMP Tue Oct 18 14:41:40 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux

Machine Type:  Power8  Ubuntu 16.10  KVM

== Comment: #2 - VIPIN K. PARASHAR <vipar...@in.ibm.com> - 2016-11-23 02:22:33 
==
root@lep8b:~# tail /proc/cpuinfo 
processor       : 184
cpu             : POWER8E (raw), altivec supported
clock           : 2061.000000MHz
revision        : 2.1 (pvr 004b 0201)

timebase        : 512000000
platform        : PowerNV
model           : 8284-22A
machine         : PowerNV 8284-22A
firmware        : OPAL
root@lep8b:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety
root@lep8b:~# uname -a
Linux lep8b 4.8.0-26-generic #28-Ubuntu SMP Tue Oct 18 14:41:40 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux
root@lep8b:~#

** Affects: targetcli (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-149017 severity-high 
targetmilestone-inin1704

** Tags added: architecture-ppc64le bugnameltc-149017 severity-high
targetmilestone-inin1704

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644132

Title:
  iscsi - creation of network portal failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/targetcli/+bug/1644132/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to