Bug 1746321

Summary: Regression: Puppet module foreman_proxy does not allow disabled IPv6
Product: Red Hat Satellite Reporter: Fabien Malfoy <keldrill>
Component: InstallationAssignee: Evgeni Golov <egolov>
Status: CLOSED WONTFIX QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: bbuckingham, egolov, ekohlvan
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-26 10:04:21 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 Fabien Malfoy 2019-08-28 07:38:52 UTC
The bug 1643183 was marked CLOSED ERRATA, resolved in Satellite 6.4 through foreman-installer-1.18.0.3-1 (https://access.redhat.com/errata/RHBA-2019:0345).
This package provides the Puppet module foreman_proxy version 7.2.3

However, the same bug appears again in Satellite 6.5 with foreman-installer-1.20.0-2. Here, the foreman_proxy Puppet module bumps to version 9.0.0

It can be seen from the following GitHub pull request https://github.com/theforeman/puppet-foreman_proxy/pull/466 and associated commit https://github.com/theforeman/puppet-foreman_proxy/commit/0940a056ac2bf0cf4c5049d4acb706a74f07f5d0 that the problem was only fixed upstream starting from version 10.0.0 of the foreman_proxy Puppet module.

Comment 3 Bryan Kearney 2019-08-28 08:02:47 UTC
Upstream bug assigned to egolov

Comment 4 Bryan Kearney 2019-08-28 08:02:49 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25460 has been resolved.

Comment 5 Brad Buckingham 2019-09-05 20:27:06 UTC
Hi Fabien,

Thanks for raising the bugzilla.

I have confirmed that the fix referenced by upstream redmine 25460 is included in the current Satellite 6.6 beta.  Since this will becoming with the next release, I am going to close the bugzilla.

Reference from an early 6.6 install:

File: /usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp

...
...
150   # Enable listening on http
151   if $::osfamily == 'RedHat' and versioncmp($::operatingsystemmajrelease, '7') <= 0 and has_key($facts, 'ipaddress6') {

Comment 9 Ewoud Kohl van Wijngaarden 2020-06-26 10:04:21 UTC
https://access.redhat.com/solutions/5045841 documents the correct way to disable IPv6 when using Satellite. This has been adopted in April/May so is more recent. It is recommended to follow this procedure.

Alternatively the --foreman-proxy-bind-host parameter can be used to override the listen address.