Bug 1655623

Summary: lorax-composer fails to build when only using CDN repo sources
Product: Red Hat Enterprise Linux 8 Reporter: Ranjith Rajaram <rrajaram>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact: Vladimír Slávik <vslavik>
Priority: unspecified    
Version: 8.1CC: atodorov, vslavik
Target Milestone: rcKeywords: Reopened
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lorax-28.14.18-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 01:41:29 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
Lorax log files
none
var-lib-lorax-results dir none

Description Ranjith Rajaram 2018-12-03 15:13:06 UTC
Created attachment 1510984 [details]
Lorax log files

Description of problem:

Composer fails with the following message:

Dec 03 09:29:55 localhost.localdomain lorax-composer[1579]: 2018-12-03 09:29:55,743: The exact error message is:
Dec 03 09:29:55 localhost.localdomain lorax-composer[1579]: 2018-12-03 09:29:55,743:
Dec 03 09:29:55 localhost.localdomain lorax-composer[1579]: 2018-12-03 09:29:55,743: The following mandatory spokes are not completed:
Dec 03 09:29:55 localhost.localdomain lorax-composer[1579]: 2018-12-03 09:29:55,743: Installation source
Dec 03 09:29:55 localhost.localdomain lorax-composer[1579]: 2018-12-03 09:29:55,743: Software selection.

# composer-cli compose status
2c011b81-41c6-49c6-bef1-3af1b504a49e FAILED   Mon Dec  3 09:54:56 2018 newcomposer     0.0.2 qcow2  

Attached the /var/log/lorax-composer/*.logs


Version-Release number of selected component (if applicable):
lorax-templates-rhel-8.0-19.el8.noarch
lorax-28.14.16-1.el8.x86_64
lorax-composer-28.14.16-1.el8.x86_64
lorax-lmc-novirt-28.14.16-1.el8.x86_64
lorax-templates-generic-28.14.16-1.el8.x86_64
[root@localhost ~]# 

How reproducible:
Always


Steps to Reproduce:
1. Install lorax-composer, cockpit etc
2. Attempt to create a qcow2 image
3.

Actual results:

Image creation fails

Expected results:

Image creation should succeed. 

Additional info:

Comment 2 Ranjith Rajaram 2018-12-03 16:09:52 UTC
Created attachment 1510996 [details]
var-lib-lorax-results dir

Comment 3 Ranjith Rajaram 2018-12-03 16:23:53 UTC
Closing the BZ as I notice multiple issues with the configuration. I should have used a custom repo

Comment 4 Brian Lane 2018-12-04 00:19:31 UTC
Let's use this to track making it more clear that lorax-composer doesn't support CDN only repo sources right now. We'll add a status message to 'composer-cli status show' and block starting a build if there aren't any non-CDN repos enabled.

Comment 5 Brian Lane 2018-12-04 00:40:10 UTC
https://github.com/weldr/lorax/pull/536

Comment 7 Alexander Todorov 2019-01-24 14:14:46 UTC
https://travis-ci.org/weldr/lorax/builds/483834721