Bug 1219196
| Summary: | Anaconda refuses to process a working KS file created by Anaconda on UEFI Mac Pro: "failed to find a suitable stage1 device" | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Kundrát <jkt> | ||||||||||
| Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 7.1 | CC: | bcl, mbanas, mkovarik, vpodzime | ||||||||||
| Target Milestone: | rc | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | anaconda-21.48.22.9-1 | Doc Type: | Bug Fix | ||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2015-11-19 09:54:10 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: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Jan Kundrát
2015-05-06 19:39:46 UTC
Created attachment 1022789 [details]
anaconda-ks.cfg
Created attachment 1022790 [details]
anaconda.log
Created attachment 1022791 [details]
storage.log
Created attachment 1022792 [details]
program.log
Seems that this is caused by outdated python-blivet in the initrd. It calls itself 0.61.0.26 in blivet/__init__.py, and blivet/platform.py doesn't contain any reference to class MacEFI, isMactel() and therefore getPlatform() returns just an instance of the regular class EFI which forbids one from using HFS+ on the EFI partition. I added some extra logging into anaconda's pyanaconda/bootloader.py (mainly to see the function invocation and to get access to the self.errors in there), and the _is_valid_format gets called as _is_valid_format(..., ['efi'], ['/boot/efi'], 'EFI System Partition'). All partitions are rejected because "efi" != "hfs+". Thanks a lot to adamw, dlehman, bcl and pjones on IRC for their excellent feedback and pointing me into a right direction. Patch is at https://github.com/rhinstaller/anaconda/pull/101 . Patch is included in RHEL-7.2 Beta with anaconda-21.48.22.35-1.el7. Verifying as SanityOnly. 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://rhn.redhat.com/errata/RHBA-2015-2284.html |