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:
When trying to do a RHEL6 kickstart based installation and you specify a nfs server on which the installation media can be found - it still loads the install.img from the CD.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Attach a RHEL6 installation CD to a machine.
2. Begin a kickstart-based installation and specify the nfs for the install media
Actual results:
The install.img is loaded from the CD
Expected results:
The install.img should be loaded from the nfs share.
Additional info: Log information
kickstartFromNfs
results of nfs, server: ... dir is ..
trying to mount CD device /dev/sr0 on /mnt/stage2
mounted loopback device /mnt/runtime on ...
....
Detected stage2 image on CD
no stage2= given, assuming nfs:....
setting language to ..
starting STEP_METHOD
stage2 url is cdrom:////dev/sr0:/mnt/stage2
This is a speed optimization in anaconda - if you provide the install.img locally, there's no point in transferring it over a network. If you really need the install.img transferred from the network (don't know why it matters), then you'll need to disconnect the CD and boot from network instead.
So the scenario is as follows:
- the CD is connected
- we PXE boot
- vmlinuz, initrd are retrieved over nfs
- stage2 is used from the CD -- we really need here the stage2 that is shared on the nfs.
Why don't you just do an NFS install entirely? Skip the whole CD part, and the stage2 image will get pulled from NFS instead of the CD.
I am extremely hesitant to do anything to the code here. It's notoriously difficult code, in which any fix has a very high likelihood of breaking some other use case.
Regardless, we will not have this problem in RHEL7 since there will no longer be a stage2 image.