Puppet client connected to Satellite 6 reports Foreman_scap_client error
Environment
- Red Hat Enterprise Linux (RHEL) 7.9
- Red Hat Satellite 6.8.1
- Puppet Agent
- 5.5.12
- 6.14.0
Issue
-
Upon execution of the Puppet agent on a host connected to Satellite, the following error is observed:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Foreman_scap_client]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got String on node host.domain.local Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Resolution
This error can be the result of an incorrect Smart Class Parameter type setting. Please perform the following steps to ensure the Port parameter type is set to Integer:
- In the Satellite WebUI, navigate to
Configure>Smart Class Parameter>Port. - Ensure parameter type is set to Integer and save the changes.
For more KB articles/solutions related to Red Hat Satellite 6.x Puppet Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Puppet Issues
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.