Bug 858929

Summary: IOError: nothing matching installroot/boot/grub/splash.xpm.gz in /
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: loraxAssignee: Martin Gracik <mgracik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, bcl, dmach, mgracik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-20 16:38:45 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:

Description John Reiser 2012-09-20 04:43:05 UTC
Description of problem: Composing a DVD of Fedora 18-Alpha branched + updates fails with a template command error in x86.tmpl.


Version-Release number of selected component (if applicable):
lorax-18.18-1.fc18.x86_64
pungi-2.12-1.fc18.noarch

How reproducible: every time


Steps to Reproduce:
1. /usr/bin/pungi -c fedora-install-fedora-$VERSION.ks \
        --destdir=$DESTDIR --name Fedora --ver $VERSION --nosource
2.
3.
  
Actual results:
   [snip]
preparing to build output tree and boot images
rebuilding initramfs images
rebuilding boot/initramfs-3.6.0-0.rc2.git2.1.fc18.x86_64.img
E: No '/dev/log' or 'logger' included for syslog logging
populating output tree and building boot images
running x86.tmpl
template command error in x86.tmpl:
  install boot/grub/splash.xpm.gz EFI/BOOT
  IOError: nothing matching /sdd15/ext4-data/Fedora18/work/x86_64/installroot/boot/grub/splash.xpm.gz in /
Traceback (most recent call last):
  File "/usr/bin/pungi", line 256, in <module>
    main()
  File "/usr/bin/pungi", line 146, in main
    mypungi.doBuildinstall()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 913, in doBuildinstall
    workdir=workdir, outputdir=outputdir)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 286, in run
    treebuilder.build()
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 216, in build
    self._runner.run(templatefile, kernels=self.kernels)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 176, in run
    self._run(commands)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 195, in _run
    f(*args)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 228, in install
    for src in rglob(self._in(srcglob), fatal=True):
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 95, in rglob
    raise IOError, "nothing matching %s in %s" % (pathname, root)
IOError: nothing matching /sdd15/ext4-data/Fedora18/work/x86_64/installroot/boot/grub/splash.xpm.gz in /



Expected results: successful compose of DVD.


Additional info: from log file:
-----
pylorax.ltmpl.DEBUG: parsing x86.tmpl
pylorax.ltmpl.INFO: running x86.tmpl
pylorax.ltmpl.DEBUG: template line 1: mkdir LiveOS
pylorax.ltmpl.DEBUG: template line 2: install images/install.img LiveOS/squashfs.img
pylorax.ltmpl.DEBUG: template line 3: treeinfo stage2 mainimage LiveOS/squashfs.img
pylorax.ltmpl.DEBUG: template line 4: mkdir isolinux
pylorax.ltmpl.DEBUG: template line 5: install usr/share/syslinux/isolinux.bin isolinux
pylorax.ltmpl.DEBUG: template line 6: install usr/share/syslinux/vesamenu.c32 isolinux
pylorax.ltmpl.DEBUG: template line 7: install tmp/config_files/x86/isolinux.cfg isolinux
pylorax.ltmpl.DEBUG: template line 8: install tmp/config_files/x86/boot.msg isolinux
pylorax.ltmpl.DEBUG: template line 9: install tmp/config_files/x86/grub.conf isolinux
pylorax.ltmpl.DEBUG: template line 10: install usr/share/anaconda/boot/syslinux-splash.png isolinux/splash.png
pylorax.ltmpl.DEBUG: template line 11: install boot/memtest* isolinux/memtest
pylorax.ltmpl.DEBUG: template line 12: replace @VERSION@ 18 isolinux/grub.conf isolinux/isolinux.cfg isolinux/*.msg
pylorax.ltmpl.DEBUG: template line 13: replace @PRODUCT@ Fedora isolinux/grub.conf isolinux/isolinux.cfg isolinux/*.msg
pylorax.ltmpl.DEBUG: template line 14: replace @ROOT@ inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 isolinux/isolinux.cfg
pylorax.ltmpl.DEBUG: template line 15: mkdir images/pxeboot
pylorax.ltmpl.DEBUG: template line 16: installkernel images-x86_64 boot/vmlinuz-3.6.0-0.rc2.git2.1.fc18.x86_64 images/pxeboot/vmlinuz
pylorax.ltmpl.DEBUG: template line 17: installinitrd images-x86_64 boot/initramfs-3.6.0-0.rc2.git2.1.fc18.x86_64.img images/pxeboot/initrd.img
pylorax.ltmpl.DEBUG: template line 18: hardlink images/pxeboot/vmlinuz isolinux
pylorax.ltmpl.DEBUG: template line 19: hardlink images/pxeboot/initrd.img isolinux
pylorax.ltmpl.DEBUG: template line 20: treeinfo images-xen kernel images/pxeboot/vmlinuz
pylorax.ltmpl.DEBUG: template line 21: treeinfo images-xen initrd images/pxeboot/initrd.img
pylorax.ltmpl.DEBUG: template line 22: mkdir EFI/BOOT
pylorax.ltmpl.DEBUG: template line 23: mkdir EFI/BOOT/fonts/
pylorax.ltmpl.DEBUG: template line 24: install boot/efi/EFI/*/shim.efi EFI/BOOT/BOOTX64.efi
pylorax.ltmpl.DEBUG: template line 25: install boot/efi/EFI/*/gcdx64.efi EFI/BOOT/grubx64.efi
pylorax.ltmpl.DEBUG: template line 26: install boot/efi/EFI/*/fonts/unicode.pf2 EFI/BOOT/fonts/
pylorax.ltmpl.DEBUG: template line 27: install boot/grub/splash.xpm.gz EFI/BOOT
pylorax.ltmpl.ERROR: template command error in x86.tmpl:
pylorax.ltmpl.ERROR:   install boot/grub/splash.xpm.gz EFI/BOOT
pylorax.ltmpl.ERROR:   IOError: nothing matching /sdd15/ext4-data/Fedora18/work/x86_64/installroot/boot/grub/splash.xpm.gz in /
-----

The contents of installroot/boot:
-----
config-3.6.0-0.rc2.git2.1.fc18.x86_64
efi
elf-memtest86+-4.20
grub2
initramfs-3.6.0-0.rc2.git2.1.fc18.x86_64.img
memtest86+-4.20
System.map-3.6.0-0.rc2.git2.1.fc18.x86_64
vmlinuz-3.6.0-0.rc2.git2.1.fc18.x86_64
-----

Comment 1 Brian Lane 2012-09-20 16:38:45 UTC
Already fixed in lorax-18.20-1