Bug 476793
Summary: | scsi_id returning garbage wwid for unpresented LUNs | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | vijay <vijayakumar> | ||||
Component: | udev | Assignee: | Harald Hoyer <harald> | ||||
Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | agk, bmarzins, bmr, bzeranski, christophe.varoqui, dwysocha, egoggin, heinzm, iannis, junichi.nomura, kueda, lmb, lmiksik, phinchman, prockai, psklenar, senthil-kumar.veluswamy, tranlan, vijayakumar | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-31 12:36:25 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1049888 | ||||||
Attachments: |
|
Description
vijay
2008-12-17 07:03:37 UTC
why not just blacklist 360000000000000000000000000000000 ? we can even add it to the build-in blacklist, if this non-intrusive method is sufficient. Created attachment 327297 [details]
The suggested patch
The wwid need not always be 360000000000000000000000000000000, it can be any junk value. The patch in Comment#2 looks like just a work-around, so it will make the code difficult to understand in the future. Shouldn't we fix the kernel or wwid getting tools not to return wwid for such unpresented LUNs if possible? Yes. getuid callout routine has to be fixed. Also the patch in comment#2 has to be included, because we may want to reject the devices that doesn't return proper prio value. Re: Comment#5 I still disagree with the patch. We can get no benefit from calling get_prio() for PATH_DOWN paths, since those paths probably always return invalid prio value, -1. And pathinfo() is often called from multipathd not only multipath, so if we call get_prio() for PATH_DOWN paths, many unnecessary error messages may be displayed until those paths come back to PATH_UP. And for your information, we are already rejecting paths having invalid prio value in libmultipath:configure.c:coalesce_paths(). So I think if we get the fix in getuid or kernel, all your requirements will be satisfied. Ok, we agree the fix should be at the scsi id utility itself Hello, Do you have any plan to fix this issue in getuid or in scsi id utility? any patch for the scsi_id util present? Does the scsi_id of udev-141 work? Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |