Hide Forgot
The following was filed automatically by anaconda: anaconda 16.7.20110511.e7e2 exception report Traceback (most recent call first): File "/tmp/updates/pyanaconda/bootloader.py", line 1487, in _gpt_disk_has_bios_boot if device.isDisk and getattr(device.format, "labelType", None) == "gpt": File "/tmp/updates/pyanaconda/storage/partitioning.py", line 112, in _schedulePartitions if gpt_check and gpt_check(boot_disk): File "/tmp/updates/pyanaconda/storage/partitioning.py", line 230, in doAutoPartition _schedulePartitions(anaconda.storage, disks) File "/tmp/updates/pyanaconda/dispatch.py", line 327, in dispatch self.dir = self.steps[self.step].target(self.anaconda) File "/tmp/updates/pyanaconda/text.py", line 508, in run self.anaconda.dispatch.dispatch() File "/tmp/updates/pyanaconda/dispatch.py", line 281, in run self.anaconda.intf.run(self.anaconda) File "/tmp/updates/anaconda", line 806, in <module> anaconda.dispatch.run() AttributeError: 'NoneType' object has no attribute 'isDisk'
Created attachment 498233 [details] Attached traceback automatically from anaconda.
hitting this during text installation on today's rawhide. related to bug 701228?
Try this: diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitionin index 80ba4ca..428d109 100644 --- a/pyanaconda/storage/partitioning.py +++ b/pyanaconda/storage/partitioning.py @@ -109,7 +109,7 @@ def _schedulePartitions(storage, disks): gpt_check = getattr(storage.platform.bootloader, "_gpt_disk_has_bios_boot", None) - if gpt_check and gpt_check(boot_disk): + if boot_disk and gpt_check and gpt_check(boot_disk): # there's already a bios boot partition on the gpt boot disk log.info("skipping bios boot request since boot disk has one") continue
And now I can't reproduce 703784 with or without your patch. So I think you can go ahead. Ales
I believe this should be fixed in F18 Alpha. Please test and let us know.
Hmm, not sure how I did that originally but given it's an ABRT reported bug with no more reporters I think it's safe to assume it has gone now. OK to close this for me.
Reproduced this with a ks.cfg with Fedora 16: install firewall --disabled cdrom rootpw --plaintext secret auth --useshadow --passalgo=md5 text keyboard us lang en_US selinux --disabled skipx logging --level=info timezone --isUtc Etc/UTC bootloader --location=mbr zerombr clearpart --all part / --asprimary --fstype="ext4" --grow --size=1 network --bootproto=dhcp --device=eth0 shutdown %packages @base %end in an attempt to use Anaconda to create the base of a complete initramfs Any chance of a fix for F16's Anaconda?
No, we don't do updates of anaconda for previous releases.