Running Satellite OpenScap and puppet agent fails with '/usr/bin/foreman_scap_client: No such file or directory' error message
Issue
-
When trying to run
OpenScap
, the following error message is showing up:/var/tmp/foreman-ssh-cmd-xxxxx-xxxx-xxxx-xxxx-xxxxx/script: line 1: /usr/bin/foreman_scap_client: No such file or directory
-
When trying to run the
puppet agent
in theslave
server, the following error messages are showing up:# /usr/bin/puppet agent -t Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Info: Retrieving pluginfacts Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://server.example.com/pluginfacts: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Info: Retrieving plugin Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://server.example.com/plugins: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Info: Loading facts Error: Could not retrieve catalog from remote server: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Error: Could not send report: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A # /usr/bin/puppet agent --config /etc/puppet/puppet.conf --onetime --tags no_such_tag --server server.example.com --no-daemonize --verbose Info: Caching certificate for certificate.example.com Info: Caching certificate_revocation_list for ca Info: Caching certificate for certificate.example.com Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Stdlib::Stages] is already declared; cannot redeclare at /usr/share/puppet/modules/stdlib/manifests/init.pp:18 at /usr/share/puppet/modules/stdlib/manifests/init.pp:18:3 on node certificate.example.com","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: The 'stacktrace' property is deprecated and will be removed in a future version of Puppet. For security reasons, stacktraces are not returned with Puppet HTTP Error responses."]} Notice: Using cached catalog Error: Could not retrieve catalog; skipping run
Environment
- Red Hat Enterprise Linux
- 7.5
- Red Hat Satellite
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.