-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.11.2
-
False
-
-
False
-
CLOSED
-
900
-
Platform
-
-
-
Moderate
-
Manual
-
No
Description of problem:
The value of "--foreman-foreman-url" option is not honored as the value of foreman_url in Satellite settings.
Version-Release number of selected component (if applicable):
Satellite 6.11.2
How reproducible:
Always ( but under very specific circumstances )
Steps to Reproduce:
1. Repeat Step 1 to Step 5 from BZ https://bugzilla.redhat.com/show_bug.cgi?id=2127955 as the reproducer steps.
2. Once the installer finishes, Check the following outputs:
- hammer settings info --name foreman_url
- hammer settings info --name unattended_url
- grep url /etc/foreman-installer/scenarios.d/satellite-answers.yaml
Actual results:
The unattended_url is correctly set but not the foreman_url
- hammer settings info --name foreman_url
Id: foreman_url
Name: foreman_url
Description: URL where your Foreman instance is reachable (see also Provisioning > unattended_url)
Category: General
Settings type: string
Value: https://sat611.example.com
- hammer settings info --name unattended_url
Id: unattended_url
Name: unattended_url
Description: URL hosts will retrieve templates from during build, when it starts with https unattended/userdata controllers cannot be accessed via HTTP
Category: Provisioning
Settings type: string
Value: https://mysatellite.example.com
Whereas the answers file shows that installer used the right values:
- grep url /etc/foreman-installer/scenarios.d/satellite-answers.yaml
foreman_url: https://mysatellite.example.com
unattended_url: https://mysatellite.example.com
dynflow_redis_url:
foreman_url:
puppet_url: https://mysatellite.example.com:8140
template_url: http://mysatellite.example.com:8000
foreman_base_url: https://mysatellite.example.com
registered_proxy_url:
source_url: http://downloads.theforeman.org/discovery/releases/latest/
server_foreman_url: https://mysatellite.example.com
Expected results:
The --foreman-foreman-url and\or --puppet-server-foreman-url should be honored when the value of foreman_url settings is being set.
Additional info:
NA