Bug 1215669

Summary: Product.img is zero length on ppc64 Beta_RC2
Product: [Fedora] Fedora Reporter: Jakub Čajka <jcajka>
Component: distributionAssignee: Peter Robinson <pbrobinson>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dan, dennis, notting
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-30 14:46:21 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:
Bug Depends On:    
Bug Blocks: 1206039    

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