| Summary: | rescan-scsi-bus.sh removing and re-adding disks it probably shouldn't | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Sirius Rayner-Karlsson <akarlsso> | ||||
| Component: | sg3_utils | Assignee: | David Sommerseth <davids> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Jan Kepler <jkejda> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.7 | CC: | a.bleischwitz, akarlsso, amote, bnater, bubrown, chorn, coughlan, cww, davids, dhorak, hannsj_uhl, ionutjula, jkejda, jmagrini, nyewale, ovasik, rmadhuso, tmilsond | ||||
| Target Milestone: | beta | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1314887 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-05-11 00:30:06 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1172231, 1314887 | ||||||
| Attachments: |
|
||||||
|
Description
Sirius Rayner-Karlsson
2016-02-23 13:25:47 UTC
Created attachment 1129761 [details]
proposed patch
Here is a proposed patch that simply strips leading and trailing whitespace from the variables and then use that in the comparison. I have tested it in my VM and it seems to work correctly. I have had additional confirmation from the reporter that it resolves the problem in their environment as well.
*** Bug 1311557 has been marked as a duplicate of this bug. *** This issue has been fixed in sg3_utils-1.28-12.el6 (RHEL 6.8) 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. https://rhn.redhat.com/errata/RHBA-2016-0905.html |