[Bug 1289482] [NEW] "iscsiadm discovery" succeeds but "iscsiadm login" fails inside ubuntu container.
abhijit taware
abhijit.taware at coriolis.co.in
Fri Mar 7 17:00:33 UTC 2014
Public bug reported:
Here is output of commands -
root at hytrust:~# iscsiadm -m discovery -t st -p 192.168.100.81
192.168.100.81:3260,1 iqn.2014-03.in.co.coriolis.lan.hysrc:xbmc-server
root at hytrust:~# ps -ef | grep iscsi
root 398 1 0 13:58 ? 00:00:00 /usr/sbin/iscsid
root 1305 1 0 14:06 ? 00:00:00 /usr/sbin/iscsid
root 10744 1 0 16:15 ? 00:00:00 /usr/sbin/iscsid
root 12899 10720 0 16:43 pts/1 00:00:00 grep --color=auto iscsi
Now login fails -
root at hytrust:~# iscsiadm -m node --targetname "iqn.2014-03.in.co.coriolis.lan.hysrc:xbmc-server" --portal "192.168.100.81:3260" --login
Logging in to iface: default, target: iqn.2014-03.in.co.coriolis.lan.hysrc:xbmc-server, portal: 192.168.100.81,3260
iscsiadm: got read error (0/0), daemon died?
iscsiadm: Could not login to [iface: default, target: iqn.2014-03.in.co.coriolis.lan.hysrc:xbmc-server, portal: 192.168.100.81,3260].
iscsiadm: initiator reported error (18 - could not communicate to iscsid)
iscsiadm: Could not log into all portals
Same thing work if I do it from a Virtual Machine.
I followed tutorial @ this link : http://www.heath-bar.com/blog/?p=184
It works perfect for virtual machines.
We need this working as we are trying replace VMs with containers due to hardware limitation for scalability testing.
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1289482
Title:
"iscsiadm discovery" succeeds but "iscsiadm login" fails inside ubuntu
container.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1289482/+subscriptions
More information about the Ubuntu-server-bugs
mailing list