Bug 1882259

Summary: Osbuild-composer (lorax-composer) do not support adding packages from non-default streams
Product: Red Hat Enterprise Linux 8 Reporter: Denis Volkov <dvolkov>
Component: osbuild-composerAssignee: Image Builder team <osbuilders>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: elpereir, kwalker, sbarcomb, tgunders
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-17 21:50:19 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:

Description Denis Volkov 2020-09-24 07:59:41 UTC
Description of problem:
Currently lorax-composer does not support adding the packages that are not in default streams. 

For example, instruction on installing ipa-server:
    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_identity_management/preparing-the-system-for-ipa-server-installation_installing-identity-management

Commands include the following commands:
    yum module enable idm:DL1
    yum module install idm:DL1/server

But there is no way currently to enable additional streams and as a result, no way to add the package from non-default streams.

Version-Release number of selected component (if applicable):
lorax-composer-28.14.42-2.el8_2.x86_64

Additional info:
There is also KCS about adding packages in kickstart answer file:
https://access.redhat.com/solutions/5170291

Comment 2 Brian Lane 2021-01-25 16:51:50 UTC
Non-default streams are difficult to support since the switch is system-wide. With anaconda you are running one instance on the system being installed, so switching streams is fine. With lorax-composer you may have several depsolves happening at the same time, so switching streams for one of them would interfere with all of them. osbuild-composer is replacing lorax-composer in 8.4 and has a different architecture so it may be possible to allow non-default streams but it is going to require a bunch of work, both to the depsolving  process and to the blueprints that define what to install. Currently the blueprint only has provisions for modules (currently mapped to packages) and not for stream selection.

Comment 4 Steve Barcomb 2021-09-17 21:50:19 UTC
The only customer case attached this bug closed due to automation.  I will mark this bug closed as well.  If there is further interest in this bug please reopen it with a matching open support case.

-Steve