Bug 1562301
| Summary: | diskless installation fails with "stage1 device cannot be on an iSCSI disk" | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Masahiro Matsuya <mmatsuya> | |
| Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
| Severity: | medium | Docs Contact: | Sharon Moroney <smoroney> | |
| Priority: | medium | |||
| Version: | 7.4 | CC: | aperotti, atodorov, jstodola, mmatsuya, pasik, rmetrich, rvykydal, smoroney, vslavik | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | anaconda-21.48.22.137-1 | Doc Type: | Enhancement | |
| Doc Text: |
Booting from an iSCSI device that is not configured using iBFT is now supported
This update provides a new installer boot option "inst.nonibftiscsiboot" that supports the installation of boot loader on an iSCSI device that has not been configured in the iSCSI Boot Firmware Table (iBFT).
This update helps when the iBFT is not used for booting the installed system from an iSCSI device, for example, an iPXE boot from SAN features is used instead. The new installer boot option allows you to install the boot loader on an iSCSI device that is not automatically added as part of the iBFT configuration but is manually added using the "iscsi" Kickstart command or the installer GUI.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1572600 (view as bug list) | Environment: | ||
| Last Closed: | 2018-10-30 07:53:20 UTC | Type: | Bug | |
| 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: | 1557360 | |||
|
Description
Masahiro Matsuya
2018-03-30 04:44:05 UTC
I think adding a boot option is a good way to go. Also we should improve the UI feedback to be more informative, from: "failed to find a suitable stage1 device" to something like: "Failed to find a suitable stage1 device: Bootloader stage 1 device cannot be on iSCSI disk which is not configured in iBFT." I've prepared an updates image for RHEL 7.5 with a patch adding inst.nonibftiscsiboot option that should do the thing. https://rvykydal.fedorapeople.org/updates.nonibftiscsiboot.img (https://github.com/rvykydal/anaconda/commits/rhel7-branch-non-ibft-boot) In addition to the inst.nonibftiscsiboot option the messaging in UI has been improved, see the second comment in the PR https://github.com/rhinstaller/anaconda/pull/1437 With the updated details from comment #9 I re-tested with a kickstart file that contains: iscsiname iqn.2015-04.com.client:target1 iscsi --ipaddr 10.34.112.115 --port 3260 --target iqn.2015-04.com.example:target1 zerombr bootloader --location=mbr clearpart --all --initlabel autopart --type=lvm I used a VM without any kind of local storage, provisioning via virt-manager: Without inst.nonibftiscsiboot option the error message is: Failed to find a suitable stage1 device: Boot loader stage1 device cannot be on an iSCSI disk which is not configured in iBFT. With the inst.nonibftiscsiboot I was able to proceed with the installation, the disk device (/dev/sda) was partitioned with LVM and a /boot partition. Then I was able to boot the system by typing the following in the iPXE prompt: > dhcp net0 > sanboot iscsi:10.34.112.115:::0:iqn.2015-04.com.example:target1 Thanks, Radek. I've made some minor grammatical edits. Thanks again. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3035 |