-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
The following two procedures contain a list of services whose ports must be open for a successful installation:
- https://github.com/theforeman/foreman-documentation/blob/master/guides/common/modules/proc_enabling-client-connections-to-project-server.adoc
- https://github.com/theforeman/foreman-documentation/blob/master/guides/common/modules/proc_enabling-connections-to-capsule.adoc
These lists include some services that actually do not need to be accessible in default scenarios.
This effort would require two things:
- Review these lists and make sure the commands open only the ports that are needed for default scenarios.
A few examples:
- The current procedures open the ports for DHCP, DNS, and TFTP but these services are not enabled by default so we shouldn't ask all users to open the ports.
- The current procedures open the ports for puppetmaster but a Katello/Satellite installation doesn't include Puppet by default. However, a Foreman installation does include Puppet by default.
Installation procedures for specific builds should only include opening ports for the services that are included for that build by default.
- Ensure that if we drop a service from the installation procedures, users will be told to open the ports later when enabling the respective feature.
An example:
- If we drop the ports for DHCP, DNS, and TFTP from the installation procedures, we must ensure that https://docs.theforeman.org/3.16/Integrating_Provisioning_Infrastructure_Services/index-katello.html tells users to open them when enabling the services.
An existing example of a procedure that starts by allowing access to the required service is https://docs.theforeman.org/3.16/Installing_Proxy/index-katello.html#configuring-pull-based-transport-for-remote-execution_smart-proxy:
Lines 26 to 38 in 2a33e30
| . Enable the pull-based transport on your {ProductName}: | |
| + | |
| [options="nowrap" subs="quotes,attributes"] | |
| ---- | |
| # {foreman-installer} --foreman-proxy-plugin-remote-execution-script-mode pull-mqtt | |
| ---- | |
| . Configure the firewall to allow the MQTT service on port 1883: | |
| + | |
| [options="nowrap", subs="+quotes,verbatim,attributes"] | |
| ---- | |
| # firewall-cmd --add-service=mqtt | |
| ---- | |
| include::snip_make-firewall-settings-persistent.adoc[] |
(This issue is based on the conversation in #4210 (comment) )
Metadata
Metadata
Assignees
Labels
No labels