Bug 983553 - iscsiadm gets stuck on D state when refreshing targets if target is unavailable [NEEDINFO]
Summary: iscsiadm gets stuck on D state when refreshing targets if target is unavailable
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 6.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Chris Leech
QA Contact: Bruno Goncalves
Depends On:
Blocks: 964595
TreeView+ depends on / blocked
Reported: 2013-07-11 13:10 UTC by Saggi Mizrahi
Modified: 2013-11-21 23:10 UTC (History)
7 users (show)

Feature: Target rescans run asynchronously. 

Reason: A single unreachable target could previously block rescans of others.  Now functioning sessions will rescan properly without long delays.

Result (if any):
Clone Of:
Last Closed: 2013-11-21 23:10:05 UTC
cleech: needinfo? (smizrahi)

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1700 normal SHIPPED_LIVE iscsi-initiator-utils bug fix and enhancement update 2013-11-20 21:52:07 UTC

Description Saggi Mizrahi 2013-07-11 13:10:38 UTC
Description of problem:
In order to refresh targets iscsiadm pokes all the devices and targets for updates sequentially. If one is not responding iscsiadm will block forever and not refresh the rest of the targets.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Connect to a couple of targets
2. Set the firewall to drop packets going to a specific target
3. run: iscsiadm -m session -R
4. profit

Actual results:
iscsiadm gets stuck in D state and the rest of the targets remain unscanned.

Expected results:
iscsiadm should be killable and the all targets should be updated.

Additional info:

Comment 1 Saggi Mizrahi 2013-07-11 13:12:07 UTC
Patches have been sent upstream to: http://comments.gmane.org/gmane.linux.iscsi.open-iscsi/8410

Comment 6 Saggi Mizrahi 2013-09-16 08:37:26 UTC

Comment 10 Bruno Goncalves 2013-10-25 07:29:38 UTC
Passed on regression test using

kernel 2.6.32-424.el6

rpm -q iscsi-initiator-utils

Comment 11 errata-xmlrpc 2013-11-21 23:10:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.