Bug 2217254

Summary: [DDF] I ran into the same issue when I was writing my python installation script for Foreman a few months back
Product: Red Hat Satellite Reporter: Direct Docs Feedback <ddf-bot>
Component: InstallerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: agadhave, egolov, mjivraja
Target Milestone: UnspecifiedKeywords: Documentation, Triaged
Target Release: UnusedFlags: mdolezel: needinfo? (mjivraja)
mdolezel: needinfo? (agadhave)
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-29 13:05:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Direct Docs Feedback 2023-06-25 14:51:29 UTC
I ran into the same issue when I was writing my python installation script for Foreman a few months back (https://github.com/hamiheim/foreman_installer). I'd recommend either updating the satellite module to use "dnf module switch-to" for both ruby and psql, or adding a step in the installer prior to installing the satellite module to run the switch-to module command for both modules. This will prevent errors about conflicting modules, and make the installation cleaner.

Reported by: bman12092

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html/installing_satellite_server_in_a_disconnected_network_environment/installing_server_disconnected_satellite#annotations:9b5c9d34-cf55-4c07-b161-ee22554276a9

Comment 2 Marie Hornickova 2023-06-27 16:09:36 UTC
Hello, 
Many thanks for using the Direct documentation Feedback tool to report this suggestion for improvement.
The Bugzilla will go through proper team triage, and the documentation team will inform about updates on the implmentation to product docs in this ticket.
Thank you!

Comment 3 Evgeni Golov 2023-06-29 13:05:04 UTC
The easier workaround is to just do all enablements in one go explicitly:

# dnf module enable ruby:2.7 postgresql:12 satellite:el8

But we deliberately only list the satellite module to not have to maintain a list of dependencies in multiple places (installer, docs, module metadata).