[Bug 1053306] Re: iscsiadm hangs in recvmsg()
Colin Watson
cjwatson at canonical.com
Tue Oct 16 14:50:57 UTC 2012
Hello dann, or anyone else affected,
Accepted open-iscsi into precise-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/open-
iscsi/2.0.871-0ubuntu9.12.04.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done. If it does not, change the
tag to verification-failed. In either case, details of your testing
will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: open-iscsi (Ubuntu Precise)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
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:
Fix Released
Status in “open-iscsi” source package in Precise:
Fix Committed
Status in “open-iscsi” source package in Quantal:
Fix Released
Status in “open-iscsi” package in Fedora:
Unknown
Bug description:
[Impact]
iscsid can hang or crash
[Test Case]
1) This issue is exacerbated by increased logging output. To configure open-iscsi to emit the maximum amount of messages, edit /etc/init.d/open-iscsi and change the line:
start-stop-daemon --start --quiet --exec $DAEMON
to:
start-stop-daemon --start --quiet --exec $DAEMON -- -d 8
On your storage server, create multiple LUN targets and expose them to
your Ubuntu system. I recommend 3 or more.
Edit the attached repro.sh script to set the TARGET variable to point
to the correct IP of your storage server. Execute this script on your
Ubuntu system. When an error occurs, this script should hang or begin
emitting errors.
[Regression Potential]
I would expect regressions here to have the same symptoms of the original bug - e.g. hangs, crashes.
Original report follows.
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