Bug 1746321 - Regression: Puppet module foreman_proxy does not allow disabled IPv6
Summary: Regression: Puppet module foreman_proxy does not allow disabled IPv6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.5.0
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Evgeni Golov
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-28 07:38 UTC by Fabien Malfoy
Modified: 2020-06-26 10:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-26 10:04:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25460 0 High Closed foreman-proxy service fails to start if IPv6 is disabled 2021-01-05 03:36:58 UTC
Github theforeman/puppet-foreman_proxy/commit/0940a056ac2bf0cf4c5049d4acb706a74f07f5d0 0 None None None 2020-06-26 09:32:57 UTC
Github theforeman puppet-foreman_proxy pull 466 0 'None' closed Fixes #25460 - only set the bind_host to :: if IPv6 is available 2021-01-05 03:36:57 UTC
Red Hat Bugzilla 1643183 0 urgent CLOSED On satellite 6.4, foreman-proxy service fails to start if IPv6 is disabled 2022-03-13 15:52:12 UTC
Red Hat Product Errata RHBA-2019:0345 0 None None None 2019-08-28 07:38:52 UTC

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.


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