[Bug 1053306] Re: iscsiadm hangs in recvmsg()

Ante Karamatić 1053306 at bugs.launchpad.net
Thu Sep 20 17:58:29 UTC 2012


Broken:

stat("/sys/bus/iscsi_transport/devices/tcp", 0x7fff6decee10) = -1 ENOENT (No such file or directory)
stat("/sys/class/iscsi_transport/tcp", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)   = 3
connect(3, {sa_family=AF_FILE, path=@"ISCSIADM_ABSTRACT_NAMESPACE"}, 110) = 0
write(3, "\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 5280) = 5280
recvfrom(3, 0x7fff6dece3e0, 2464, 256, 0, 0) = ? ERESTARTSYS (To be restarted)

Normal:

stat("/sys/bus/iscsi_transport/devices/tcp", 0x7fffc7c20500) = -1 ENOENT (No such file or directory)
stat("/sys/class/iscsi_transport/tcp", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path=@"ISCSIADM_ABSTRACT_NAMESPACE"}, 110) = 0
write(3, "\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 5280) = 5280
recvfrom(3, "\10\0\0\0\0\0\0\0iqn.1993-08.org.debian:0"..., 2464, MSG_WAITALL, NULL, NULL) = 2464

'iqn.1993-08.org.debian...' is defined in
/etc/iscsi/initiatorname.iscsi.

So far, I'm unable to reproduce the issue.

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

Title:
  iscsiadm hangs in recvmsg()

Status in “open-iscsi” package in Ubuntu:
  New

Bug description:
  We occasionally see iscsiadm hang indefinitely on a system. It is
  difficult to reproduce, there maybe months between occurrences. This
  happened again today, and we collected the following information.

  We captured an strace of a failing iscsiadm discover process, I'll
  attach it here. All iscsiadm processes that are hung are also in
  recvmsg() when we attach strace.

  It was observed that there was one iscsid process - where normally
  there is 2. The pids are normally consecutive, so I presume one forks
  the other before daemonizing.

  syslog contains the following messages from iscsid:

  Sep 20 15:55:57 cn5 iscsid: semop up failed 4
  Sep 20 15:56:05 cn5 iscsid: semop down failed
  Sep 20 15:56:23 cn5 iscsid: semop up failed 4
  Sep 20 16:02:23 cn5 iscsid: semop up failed 4
  Sep 20 16:02:26 cn5 iscsid: semop up failed 4
  Sep 20 16:02:26 cn5 iscsid: semop up failed 4
  Sep 20 16:02:26 cn5 iscsid: semop up failed 4
  Sep 20 16:02:32 cn5 iscsid: semop up failed 4
  Sep 20 18:01:49 cn5 iscsid: semop up failed 4
  Sep 20 18:03:56 cn5 iscsid: semop up failed 4
  Sep 20 18:05:03 cn5 iscsid: semop up failed 4

  This sounds similar to the issue described in
  https://bugzilla.redhat.com/show_bug.cgi?id=676804, but note the
  different errno.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1053306/+subscriptions




More information about the foundations-bugs mailing list