| Summary: | Kickstart installation RHEL 6 - if nfs specified - the install.img will be loaded from CD | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Diana Chinces <chincesdiana> | ||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Release Test Team <release-test-team> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0 | Keywords: | Reopened | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-03-16 13:56:51 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Diana Chinces
2011-03-10 15:43:22 UTC
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. From the documentation http://www.linuxtopia.org/online_books/rhel6/rhel_6_installation/rhel_6_installation_ch-parmfiles-Miscellaneous_parameters.html we can see that if stage2 kernel argument is given it will take precedence over all other methods. cat /proc/cmdline ks=... stage2=... ksdevice=... Even so, the install.img is loaded from the CD. Is this the correct behavior ? Please attach the complete /tmp/anaconda.log. I can't tell what's going on from just the snippets with the most useful values removed. Created attachment 483760 [details]
Anaconda log
Added anaconda log.
Can you please confirm whether this is really a bug ? Or a misuse of kernel arguments ? Thanks. Why are you specifying stage2=, AND using a CD to boot from, AND specifying an nfs source in your kickstart file? 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. We do not have that option. Can we force somehow the CD to be ejected ? In RedHat5 by writing a flag in /proc/sys/dev/cdrom/autoeject the CD was auto-eject. However, this no longer works in RedHat6. Please file separate bugs for separate issues. Reusing bugs makes it very difficult to track resolution. |