Bug 1215669 - Product.img is zero length on ppc64 Beta_RC2
Summary: Product.img is zero length on ppc64 Beta_RC2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 22
Hardware: ppc64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F22PPCBeta
TreeView+ depends on / blocked
 
Reported: 2015-04-27 12:35 UTC by Jakub Čajka
Modified: 2015-04-30 14:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-30 14:46:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jakub Čajka 2015-04-27 12:35:58 UTC
Installation fails before anaconda starting and drops to dracut shell.

dracut:/# mount -o loop /updates/run/install/repo/images/product.img mnt
mount: /dev/loop3 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
dracut:/# ls -alh /updates/run/install/repo/images/product.img    
-r--r--r-- 1 root 0 0 Apr 23 16:13 /updates/run/install/repo/images/product.img

or see:

http://ppc.koji.fedoraproject.org/compose/22_Beta_RC2/22_Beta/Server/ppc64/os/images/

and compare with:

http://ppc.koji.fedoraproject.org/compose/22_Beta_RC2/22_Beta/Server/ppc64le/os/images/

Comment 1 Dan Horák 2015-04-27 12:57:47 UTC
- the rpms looks sane - http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=298605 - there are product.img file with 1072 B size
- the product.img file is proceesed by lorax - 
...
pylorax.ltmpl.DEBUG: template line 20: treeinfo images-ppc64 zimage images/netboot/ppc64.img
pylorax.ltmpl.DEBUG: template line 21: installimg usr/share/lorax//product/ images/product.img
pylorax.ltmpl.INFO: Creating image file /mnt/koji/compose/22_Beta_RC2/22_Beta/Server/ppc64/os/images/product.img from contents of /tmp/work/Server/ppc64/installroot/usr/share/
lorax//product/
pylorax.imgutils.DEBUG: find /tmp/work/Server/ppc64/installroot/usr/share/lorax//product/ -print0 |cpio --null --quiet -H newc -o | xz -T48 --check=crc32 -9 > /mnt/koji/compos
e/22_Beta_RC2/22_Beta/Server/ppc64/os/images/product.img
...

so it seems this command somehow failed and produced zero length file

Comment 2 Dan Horák 2015-04-30 14:46:21 UTC
fixed in Beta RC3


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