RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1299708 - [Nimble Storage] Unnecessary wait on stand-by paths for TUR in rescan-scsi-bus.sh
Summary: [Nimble Storage] Unnecessary wait on stand-by paths for TUR in rescan-scsi-bu...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sg3_utils
Version: 6.7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 04:59 UTC by shivamerla1
Modified: 2021-09-06 17:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 12:36:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description shivamerla1 2016-01-19 04:59:11 UTC
Description of problem:
rescan-scsi-bus.sh has testonline() function which issues TUR and retry 8 times with an interval of 1 second sleep. This is causing a huge delay in scanning large number of volumes if stand-by paths are present. TUR on stand-by paths return 2/4/0b check condition. This condition needs to be handled in rescan-scsi-bus.sh and avoid looping in testonline().

Also, udevadm settle calls are hanging and taking long time to complete.

Comment 2 shivamerla1 2016-01-19 05:18:29 UTC
testonline().
while test $RC = 2 -o $RC = 6 && test $ctr -le 2; do
    if test $RC = 2 -a "$RMB" != "1"; then echo -n "."; let LN+=1; sleep 1
    else usleep 20000; fi
    let ctr+=1
    sg_turs /dev/$SGDEV >/dev/null 2>&1
    RC=$?
  done


mpathje (215df250f8212599b6c9ce9001e319f94_1) dm-512 Nimble,Server
size=1.0G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 6:0:4:78   sdcf  69:48    active ready  running
| `- 7:0:5:78   sdzq  131:576  active ready  running
`-+- policy='round-robin 0' prio=1 status=enabled
  |- 6:0:7:78   sdka  65:480   active ghost  running
  `- 7:0:0:78   sdrv  134:400  active ghost  running

[root@hitdev-rhel67 ~]# sg_turs -v  /dev/sdka
    test unit ready cdb: 00 00 00 00 00 00 
test unit ready:  Fixed format, current;  Sense key: Not Ready
 Additional sense: Logical unit not accessible, target port in standby state
  Info fld=0x0 [0] 
device not ready

Comment 3 David Sommerseth 2016-01-20 17:23:03 UTC
I've had a brief discussion with upstream developers on this issue.  They are looking into this as well.

Comment 4 shivamerla1 2016-05-10 18:43:03 UTC
Can you provide any update on this?. Was the change made?.

Comment 6 Ondrej Vasik 2016-06-30 05:38:19 UTC
David left Red Hat - and we are in a process of searching for the new maintainer of sg3_utils package. Unfortunately - I don't see any clear pointer to David's discussion with upstream - based on lkml and recent activity, it seems sg3_utils is now maintained at https://github.com/hreinecke/sg3_utils ...

Comment 7 guazhang@redhat.com 2017-09-21 02:34:07 UTC
Hello

the sg3_utils testing has transfer to storage-QE team. so I will take the bug for  
testing.


thanks
guazhang

Comment 8 Jan Kurik 2017-12-06 12:36:51 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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