Bug 2217254 - [DDF] I ran into the same issue when I was writing my python installation script for Foreman a few months back [NEEDINFO]
Summary: [DDF] I ran into the same issue when I was writing my python installation scr...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.13.0
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-25 14:51 UTC by Direct Docs Feedback
Modified: 2023-06-29 13:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-29 13:05:04 UTC
Target Upstream Version:
Embargoed:
mdolezel: needinfo? (mjivraja)
mdolezel: needinfo? (agadhave)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18600 0 None None None 2023-06-25 14:54:11 UTC

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).


Note You need to log in before you can comment on or make changes to this bug.