Bug 1627911

Summary: image builds fail with anaconda consuming all mem and OOM
Product: Red Hat Enterprise Linux 7 Reporter: Terry Bowling <tbowling>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: anilsson, bcl, sbueno, stefw
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-15 07:42:33 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:
Attachments:
Description Flags
trimmed anaconda log. the original was 1.7 GB due to repeated error messages
none
program.log
none
packaging.log none

Description Terry Bowling 2018-09-11 20:42:36 UTC
Created attachment 1482445 [details]
trimmed anaconda log.  the original was 1.7 GB due to repeated error messages

Description of problem:

Builds fail for any type of image (live-iso, qcow2, or ext4 filesystem) with anaconda consuming all memory until OOM events occur.


Version-Release number of selected component (if applicable):

# rpm -q lorax-composer cockpit-composer lorax composer-cli
lorax-composer-19.7.22-1.el7.x86_64
cockpit-composer-0.1.4-1.el7.noarch
lorax-19.7.19-1.el7.x86_64
composer-cli-19.7.22-1.el7.x86_64


How reproducible:

1. Install RHEL 7.6 Beta
2. Enable all beta and htb channels
3. Download 7.6 nightly composer builds
4. setenforce 0
5. enable cockpit and lorax-composer services
6. From Cockpit Composer interface, a simple blueprint with only sshd server added.
7. Build qcow2 image

Comment 2 Terry Bowling 2018-09-11 20:45:44 UTC
Created attachment 1482446 [details]
program.log

Comment 3 Terry Bowling 2018-09-11 20:46:25 UTC
Created attachment 1482447 [details]
packaging.log

Comment 4 Brian Lane 2018-09-11 21:02:41 UTC
16:02:42,689 ERR packaging: No base repo configured

Is the core issue here, lorax-composer doesn't currently support using repos that require certificates (eg. the cdn).

But Anaconda should do a better job of failing here, instead of falling into an error loop it should exit with an error since it is running in cmdline mode.

Comment 9 RHEL Program Management 2021-02-15 07:42:33 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.