Red Hat Bugzilla – Bug 983553
iscsiadm gets stuck on D state when refreshing targets if target is unavailable
Last modified: 2013-11-21 18:10:05 EST
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: 101% 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:
Patches have been sent upstream to: http://comments.gmane.org/gmane.linux.iscsi.open-iscsi/8410
http://gerrit.ovirt.org/#/c/19256/
Passed on regression test using kernel 2.6.32-424.el6 rpm -q iscsi-initiator-utils iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
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. http://rhn.redhat.com/errata/RHBA-2013-1700.html