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.
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.
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.
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).
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.
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.