Bug 496618
Summary: | bootloader.images.getDefault() returns None | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Pribyl <covex> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | anaconda-maint-list, arxs, axle_foley99, bugproxy, luya, mail, mail, michel, mrunge, niklas.laxstrom, pjones, plautrba, rmaximo, rrakus, shinkoi2005, tuxbrewr, vanmeeuwen+fedora, xjakub |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | anaconda_trace_hash:78f4da7ca9081d41315c1412ff7a9d1a35fabd8b423cb3c87dd7898fdd5bb1f4 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-06 21:25:26 UTC | Type: | --- |
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: | 495965 | ||
Attachments: |
Description
Adam Pribyl
2009-04-20 11:55:38 UTC
Created attachment 340325 [details]
Attached traceback automatically from anaconda.
This is a preupgrade attempt from Fedora 8 to rawhide (I know a bit too big jump). After a while during finishing update the progress bar stopped, then this message happened. All other consoles are blank, I could not find anything more. Created attachment 340397 [details]
Attached traceback automatically from anaconda.
Created attachment 340592 [details]
Attached traceback automatically from anaconda.
What kind of partitioning layout do you have? What do your bootloader configs look like? Did you tell anaconda to overwrite your existing bootloader, or what? In my case, I had partition separate on four HDDs: -sda1: Microsoft Windows XP SP3 -sdb1: Fedora 10 -sdc1: ext2 Storage device -sdd1: Fedora 10 (the partition on which preupgrade was set to upgrade to Rawhide) Preupgrade 1.0.x overwrite the first Fedora partition it encounters due to its inability to only upgrade the specific partition. That bug is currently addressed on #496952. This was anaconda started thru preupgrade process. I am not sure if there is a question about rewriting GRUB, but if yes then I for sure asked to update the grub. After this crash the grub.conf had still the "Upgrade to Rawhide" option. That's all I can say. Here is the filesystem: ------------------------------------------------------- fdisk -l Disk /dev/sda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c88cb Device Boot Start End Blocks Id System /dev/sda1 1 1275 10241406 c W95 FAT32 (LBA) /dev/sda2 * 1276 1288 104422+ 83 Linux (ext3) /dev/sda3 1289 3737 19671592+ 8e Linux LVM Disk /dev/dm-0: 19.0 GB, 19025362944 bytes 255 heads, 63 sectors/track, 2313 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 1107 MB, 1107296256 bytes 255 heads, 63 sectors/track, 134 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table ------------------------------------------------------- lvscan ACTIVE '/dev/VolGroup00/LogVol00' [17,72 GB] inherit (ext3) ACTIVE '/dev/VolGroup00/LogVol01' [1,03 GB] inherit (swap) ------------------------------------------------------- cat /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,1) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=1 timeout=5 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.29.1-102.fc11.i586) root (hd0,1) kernel /vmlinuz-2.6.29.1-102.fc11.i586 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=force noapic initrd /initrd-2.6.29.1-102.fc11.i586.img title Fedora (2.6.29.1-102.fc11.i686.PAE) root (hd0,1) kernel /vmlinuz-2.6.29.1-102.fc11.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=force noapic initrd /initrd-2.6.29.1-102.fc11.i686.PAE.img title Fedora (2.6.29.1-100.fc11.i586) root (hd0,1) kernel /vmlinuz-2.6.29.1-100.fc11.i586 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=force noapic initrd /initrd-2.6.29.1-100.fc11.i586.img title Upgrade to Rawhide kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade stage2=http://mirror.karneval.cz/pub/linux/fedora/linux/development/i386/os/images/install.img ks=hd:UUID=ef9daa9f-d6c5-44e7-bf88-c242b8a09bb3:/upgrade/ks.cfg initrd /upgrade/initrd.img title 2.6.24 root (hd0,1) kernel /image-2.6.24 ro root=/dev/VolGroup00/LogVol00 acpi=force noapic 3 initrd /initrd-2.6.24.img title Other rootnoverify (hd0,0) chainloader +1 Created attachment 341153 [details]
Attached traceback automatically from anaconda.
Created attachment 341444 [details]
Attached traceback automatically from anaconda.
Created attachment 341699 [details]
Attached traceback automatically from anaconda.
Created attachment 341745 [details]
Attached traceback automatically from anaconda.
Created attachment 341883 [details]
Attached traceback automatically from anaconda.
Created attachment 341907 [details]
Anaconda dump log
------- Comment on attachment From pavan.naregundi.com 2009-04-30 06:09 EDT-------
After installing Fedora11 Preview using the text mode. yaboot bootloader failed to install properly and was missing with boot options.i.e, boot: prompt was not showing any boot option.
As I could not boot fedora, tried to upgrade the F11 Preview with the same version. During the upgrade anconda generated a exception as below
=======================
anaconda 11.5.0.47 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devicetree.py", line 1697, in getDeviceByName
device.name == name.replace("--","-"):
File "/usr/lib/anaconda/bootloader.py", line 149, in writeBootloader
defaultDev = anaconda.id.storage.devicetree.getDeviceByName(anaconda.id.bootloader.images.getDefault())
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1330, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1351, in handleRenderCallback
self.currentWindow.renderCallback()
AttributeError: 'NoneType' object has no attribute 'replace'
===========================
Machine: P550
CPU Type: power5
Attaching the generated anaconda dump file
*** Bug 498466 has been marked as a duplicate of this bug. *** Created attachment 342193 [details]
Attached traceback automatically from anaconda.
Created attachment 342198 [details]
Attached traceback automatically from anaconda.
Created attachment 342426 [details]
Attached traceback automatically from anaconda.
Created attachment 342427 [details]
Anaconda dump log
------- Comment on attachment From pavan.naregundi.com 2009-04-30 06:09 EDT-------
After installing Fedora11 Preview using the text mode. yaboot bootloader failed to install properly and was missing with boot options.i.e, boot: prompt was not showing any boot option.
As I could not boot fedora, tried to upgrade the F11 Preview with the same version. During the upgrade anconda generated a exception as below
=======================
anaconda 11.5.0.47 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devicetree.py", line 1697, in getDeviceByName
device.name == name.replace("--","-"):
File "/usr/lib/anaconda/bootloader.py", line 149, in writeBootloader
defaultDev = anaconda.id.storage.devicetree.getDeviceByName(anaconda.id.bootloader.images.getDefault())
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1330, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1351, in handleRenderCallback
self.currentWindow.renderCallback()
AttributeError: 'NoneType' object has no attribute 'replace'
===========================
Machine: P550
CPU Type: power5
Attaching the generated anaconda dump file
This should be fixed in the next build of anaconda. Will confirmed this as fixed over IRC. ------- Comment From pavan.naregundi.com 2009-05-18 04:20 EDT------- Tested with latest rawhide(anaconda-11.5.0.52-1). Seems like issue is fixed. Thanks Pavan Created attachment 344776 [details]
Attached traceback automatically from anaconda.
I'm pretty speachless, why preupgrade took this pretty old anaconda version. Anyway, install was able to boot. |