Bug 1534178

Summary: generating LiveOS/rootfs.img is failing due to size issues
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, awilliam, bcl, dennis, dmach, kevin, pbrobinson, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-08 18:04:09 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: 1469204    
Attachments:
Description Flags
logfile from running lorax none

Description Dennis Gilmore 2018-01-13 21:01:53 UTC
Created attachment 1380828 [details]
logfile from running lorax

Description of problem:
lorax is failing to create an install tree. The failure occurs when copying the files to the rootfs.img

Running... cp -a /var/tmp/lorax.p3_ylcsk/installtree/. /var/tmp/lorax.imgutils.lse0mvdk
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-containerd-current': No space left on device
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-containerd-shim-current': No space left on device
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-ctr-current': No space left on device
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-init-current': No space left on device
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-proxy-current': No space left on device
cp: error writing '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/docker/docker-runc-current': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/coreutils': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/utempter': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/udisks2': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/anaconda': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/libexec/nfs-utils': No space left on device
cp: cannot create directory '/var/tmp/lorax.imgutils.lse0mvdk/./usr/src': No space left on device
Return code: 1

We need to figure out what extra things can be removed in runtime-cleanup.tmpl or we need to increate the size of the image.

This is occurring on all images on all arches, preventing the composition of all release blocking artifacts, so I am marking this bug as an accepted blocker bug for Fedora 28 Beta

Comment 1 Dennis Gilmore 2018-01-13 22:31:13 UTC
after some digging it seems to be caused by a lulzbot-marlin-firmware pulling in a newer cura-lulzbot which pulls in a ton of new packages including the entire qt5 stack. 

runtime-install.tmpl contains 
    installpkg --optional *-firmware --except alsa* --except midisport-firmware \
                           --except crystalhd-firmware --except ivtv-firmware \
                           --except cx18-firmware --except iscan-firmware \
                           --except uhd-firmware --except lulzbot-marlin-firmware

it seems that --except is not working as expected.

Comment 2 Brian Lane 2018-01-15 16:14:05 UTC
The --except only excludes it from the glob expansion of that command, it can still be pulled in by something else requiring it. Check the logs, they will hopefully provide more info on what actually pulled it in.

Comment 3 Brian Lane 2018-01-15 16:31:56 UTC
Nevermind. I'm pretty sure commit 8edaefd4d1726eab668106ec7fd3f3c7a63fd92d broke excludes by expanding them to their NVR instead of just using names.

Comment 4 Brian Lane 2018-01-15 17:17:57 UTC
This fixes it for me:
https://github.com/rhinstaller/lorax/pull/303

Comment 5 Dennis Gilmore 2018-01-18 16:17:16 UTC
Brian as a FYI dnf provides no logs to tell you why a package was pulled in. That functionality has been lost with the move to dnf from yum. We have had bug #1303978 open for 2 years requesting the feature.

Comment 6 Adam Williamson (Red Hat non-Fedora) 2018-02-08 18:04:09 UTC
I believe this can be closed, as it was merged and built, and we got a successful compose as recently as 20180204. The bug(s) now blocking compose are different.