Bug 2226911 - The satellite installer encountered a failure due to the 'activated_rules' parameter expecting an Array value, but receiving a String instead while attempting to disable the HTTP OPTIONS method in Red Hat Satellite and Capsule 6.
Summary: The satellite installer encountered a failure due to the 'activated_rules' pa...
Keywords:
Status: CLOSED DUPLICATE of bug 2055018
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.14.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-27 00:04 UTC by Ganesh Payelkar
Modified: 2023-07-27 13:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-27 13:58:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ganesh Payelkar 2023-07-27 00:04:26 UTC
Description of problem:

The satellite installer encountered a failure due to the 'activated_rules' parameter expecting an Array value, but receiving a String instead while attempting to disable the HTTP OPTIONS method in Red Hat Satellite and Capsule 6.

Version-Release number of selected component (if applicable):
satellite-6.14.0-3.el8sat.noarch

How reproducible:
New installation 

Steps to Reproduce:
1. Install satellite or capsule 6.14 
2. To disable the HTTP OPTIONS method in Red Hat Satellite and Capsule 6 follow https://access.redhat.com/solutions/4963161
3. Run the installer 

Actual results: 

2023-07-27 00:21:07 [ERROR ] [configure] Evaluation Error: Error while evaluating a Method call, Class[Apache::Mod::Security]: parameter 'activated_rules' expects an Array value, got String (file: /usr/share/gems/gems/kafo-6.5.0/modules/kafo_configure/manifests/init.pp, line: 16, column: 39) on node


Expected results:

The installer should complete successfully without any errors or issues, allowing the Red Hat Satellite and Capsule 6 to be properly configured with the desired settings, including the disabling of the HTTP OPTIONS method.

Additional info:

The parameter 'activated_rules' was working as a String in previous versions of Satellite (6.11 and 6.12). However, in the newer version (possibly 6.13 or later), the 'activated_rules' parameter was changed to expect an Array value. This change in the parameter type caused the installation to fail when the custom parameter was specified as a String in the /etc/foreman-installer/custom-hiera.yaml file.

Comment 2 Eric Helms 2023-07-27 13:58:17 UTC

*** This bug has been marked as a duplicate of bug 2055018 ***


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