Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 653642

Summary: Anaconda dies when "ignoredisk --only-use=" is used if fibre channel drives are attached
Product: Red Hat Enterprise Linux 6 Reporter: Don Hoover <donhoover>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 21:01:34 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:
Attachments:
Description Flags
Anaconda trace
none
Output from: udevadm info --export-db
none
Screenshot of kickstart requiring user input none

Description Don Hoover 2010-11-15 20:54:45 UTC
Description of problem:
Anaconda crash if I try to use ignoredisk --onlyuse= option when external fibre channel additional drives are attached.

My kickstart has a script in the %pre that decides which drive to install on, and will choose the first drive on the internal storage on our HP proliant systems.  I have always used "ignoredisk --onlyuse=<drive %pre chooses>" with success, this used to make sure that anaconda ignored all other devices but the one provided.

However, I think that maybe the fact that multipath is now enabled during the kickstart in RHEL6, that some devices (mpathX) are getting dynamically created and anaconda is not able to deal with them.

The error in the anaconda traceback is "NameError: global name '_ped' is not defined".


Also, it looks like mpath is putting the cciss device into multipath which is also confusing anaconda even though it should be ignoring all devices except the one provided to it.

Also, if I remove the "inoredisk" option, then the install will continue, but I will get errors "Error processing device mpathb', etc..this device will need to be reinitalized" for every single other device on the system and will this requires manually pressing "Ignore" for each one before the install will continue.  


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

How reproducible:
Use:  "ignoredisk --onlyuse=cciss/


Actual results:

Attached anaconda trace showing results.
Also attached output from udev.

Comment 1 Don Hoover 2010-11-15 20:55:32 UTC
Created attachment 460661 [details]
Anaconda trace

Comment 2 Don Hoover 2010-11-15 20:56:30 UTC
Created attachment 460662 [details]
Output from: udevadm info --export-db

Comment 3 Chris Lumens 2010-11-15 21:01:34 UTC
Working on getting this in for 6.1.

*** This bug has been marked as a duplicate of bug 640829 ***

Comment 4 Don Hoover 2010-11-15 21:40:11 UTC
I hate it when you guys link my bugs to internal only ones... argh!

:)

Comment 5 Chris Lumens 2010-11-15 21:46:10 UTC
Yeah, sorry.  The most important thing from that bug is that it's fixed by commit ba5f1f6223dc6ca2dc76da5f4caf6f116799f3fd on master, and that it is on track for inclusion in 6.1.

Comment 6 Don Hoover 2011-03-30 16:52:25 UTC
FYI, I tested this morning and THIS IS STILL IN THE RHEL 6.1 BETA.   I am holding up deployment of RHEL6 in our Forune50 because this ruins the ability to have unattended kickstart, it requires user intervention to the kickstart.

This screen pops up requiring user input for every device attached to the system if you kickstart with a fibre channel adapter attached and drives mapped to it.(see attached screenshot).

Comment 7 Don Hoover 2011-03-30 16:53:11 UTC
Created attachment 488831 [details]
Screenshot of kickstart requiring user input

Comment 8 Chris Lumens 2011-03-30 16:59:52 UTC
You're seeing a completely different problem than the original report, though.  Please open a new bug with:  your kickstart file (scrubbed of any passwords), that screenshot, and the storage.log.  Thanks.

Comment 9 Don Hoover 2011-03-30 19:37:05 UTC
In fact the problem I am seeing is 'caused' by having to not use the 'ignoredisk' in the kickstart which is what the orignal issue was. The fix for bug 640829 now allows the "ignoredisk --useonly" to be used, and anaconda will ignore all drives except the one for install and this issue goes away.