Bug 922842 - [abrt] pungi-2.13-1.fc18: base.py:61:__getattr__:KeyError: 'initrd'
Summary: [abrt] pungi-2.13-1.fc18: base.py:61:__getattr__:KeyError: 'initrd'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6a8bd55f9abe7e54c170a925938...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-18 16:27 UTC by Sergio Basto
Modified: 2013-03-20 18:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-20 18:50:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (914 bytes, text/plain)
2013-03-18 16:27 UTC, Sergio Basto
no flags Details
File: core_backtrace (585 bytes, text/plain)
2013-03-18 16:28 UTC, Sergio Basto
no flags Details
File: environ (2.94 KB, text/plain)
2013-03-18 16:28 UTC, Sergio Basto
no flags Details

Description Sergio Basto 2013-03-18 16:27:55 UTC
Description of problem:
composing f19 or rawhide with pungi

Version-Release number of selected component:
pungi-2.13-1.fc18

Additional info:
cmdline:        /usr/bin/python -tt /bin/pungi -c fedora-install-fedora.ks --destdir=/home/pungi/fedora --cachedir=/home/pungi/cache --name Fedora --ver rawhide --nosource -B --force
dso_list:       lorax-18.31-1.fc18.x86_64
executable:     /bin/pungi
kernel:         3.8.3-201.fc18.x86_64
uid:            0

Truncated backtrace:
base.py:61:__getattr__:KeyError: 'initrd'

Traceback (most recent call last):
  File "/bin/pungi", line 256, in <module>
    main()
  File "/bin/pungi", line 146, in main
    mypungi.doBuildinstall()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 937, in doBuildinstall
    workdir=workdir, outputdir=outputdir)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 285, in run
    treebuilder.rebuild_initrds(add_args=anaconda_args)
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 207, in rebuild_initrds
    outfile = kernel.initrd.path
  File "/usr/lib/python2.7/site-packages/pylorax/base.py", line 61, in __getattr__
    return self[attr]
KeyError: 'initrd'

Local variables in innermost frame:
self: {'path': 'boot/vmlinuz-3.9.0-0.rc2.git0.3.fc20.x86_64', 'flavor': None, 'version': '3.9.0-0.rc2.git0.3.fc20.x86_64', 'arch': 'x86_64'}
attr: 'initrd'

Comment 1 Sergio Basto 2013-03-18 16:27:59 UTC
Created attachment 712094 [details]
File: backtrace

Comment 2 Sergio Basto 2013-03-18 16:28:04 UTC
Created attachment 712095 [details]
File: core_backtrace

Comment 3 Sergio Basto 2013-03-18 16:28:11 UTC
Created attachment 712096 [details]
File: environ

Comment 4 Sergio Basto 2013-03-19 00:10:02 UTC
Commit 
http://git.fedorahosted.org/cgit/lorax.git/commit/?id=93c4a8b8308b6506ffd1ec6150f8e7d0421ce894

Raise an error when there are no initrds
should fix this bug 
not in lorax-19.0-1

Comment 5 Sergio Basto 2013-03-19 07:54:25 UTC
(In reply to comment #4)
> Commit 
> http://git.fedorahosted.org/cgit/lorax.git/commit/
> ?id=93c4a8b8308b6506ffd1ec6150f8e7d0421ce894

I tried with with patch and got no initrds to rebuild 

I suspect on this message: 
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-3.9.0-0.rc2.git0.3.fc19.x86_64

Comment 6 Sergio Basto 2013-03-19 08:17:24 UTC
rpm -q kernel --scripts

posttrans scriptlet (using /bin/sh):
/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update 3.9.0-0.rc2.git0.3.fc19.x86_64 || exit $?
/sbin/new-kernel-pkg --package kernel --rpmposttrans 3.9.0-0.rc2.git0.3.fc19.x86_64 || exit $?


ls /home/pungi/fedora/work/x86_64/installroot/boot/
config-3.9.0-0.rc2.git0.3.fc19.x86_64  
elf-memtest86+-4.20  
initrd-plymouth.img
System.map-3.9.0-0.rc2.git0.3.fc19.x86_64
efi
grub2
memtest86+-4.20
vmlinuz-3.9.0-0.rc2.git0.3.fc19.x86_64

Comment 7 Brian Lane 2013-03-19 13:51:41 UTC
You need to make sure you have the latest dracut and systemd in whatever repo you are using.

Comment 8 Sergio Basto 2013-03-19 20:24:14 UTC
I had update  
abrt.x86_64 and libreport to 2.1.1-1.fc18 (updates-testing)
anaconda.x86_64 to 19.11-1.fc18 (local build)
dracut.x86_64 to 026-62.git20130319.fc18 (local build) 
fedup.noarch to 0.7.3-1.fc18 (local build) 
grubby.x86_64 to 8.23-1.fc18 (local build) 
libgudev1.x86_64 and systemd.x86_64 198-7.fc18 (local build) 
lorax.x86_64 from git today 3a1e176cbba85e0e789052044d14a64e1c0a6aa9 (local build) 
pykickstart.noarch to 1.99.25-1.fc18 (local build)
python-blivet.noarch (local build) 
python-meh.noarch (local build) 

I still got
Exception: No initrds found, cannot rebuild_initrds


(In reply to comment #7)
> You need to make sure you have the latest dracut and systemd in whatever
> repo you are using.

how I do that ? I want compose an F19 install iso  or images

Comment 9 Brian Lane 2013-03-19 21:24:37 UTC
Make sure you also have the latest systemd. I also use dl.fedoraproject.org as the source so that I don't run into mirror sync issues.

Comment 10 Sergio Basto 2013-03-20 18:50:05 UTC
After update anaconda, today, to anaconda-19.12 .

It pass this bug and and pungi composed F19 ! 

Pungi:INFO: Running /usr/bin/isohybrid -u -m /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso
Pungi:INFO: Running /usr/bin/implantisomd5 /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso
Pungi:INFO: Generating checksum of /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso
Pungi:INFO: Generating checksum of /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-netinst.iso
Pungi:INFO: CreateIsos is done.
All done!

Thanks


Note You need to log in before you can comment on or make changes to this bug.