[Satellite 6] Hammer ping fails with 500 Internal Server Error
Issue
- Hammer ping fails with following error.
[root@satellite ~]# hammer ping
Could not load the API description from the server:
500 Internal Server Error
- is the server down?
- was 'foreman-rake apipie:cache' run on the server when using apipie cache? (
Warning: An error occured while loading module hammer_cli_csv
Could not load the API description from the server:
500 Internal Server Error
- Katello service fails on foreman-tasks.service as follows.
● foreman-tasks.service - Foreman jobs daemon
Loaded: loaded (/usr/lib/systemd/system/foreman-tasks.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-10-19 14:02:28 EDT; 12min ago
Docs: https://github.com/theforeman/foreman-tasks
Process: 4721 ExecStart=/usr/bin/foreman-tasks start (code=exited, status=1/FAILURE)
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /usr/share/foreman/config/application.rb:16:in `<top (required)>'
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /opt/rh/rh-ruby23/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /opt/rh/rh-ruby23/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 19 14:02:28 satellite.example.com foreman-tasks[4721]: from /usr/bin/foreman-tasks:4:in `<main>'
Oct 19 14:02:28 satellite.example.com systemd[1]: foreman-tasks.service: control process exited, code=exited status=1
Oct 19 14:02:28 satellite.example.com systemd[1]: Failed to start Foreman jobs daemon.
Oct 19 14:02:28 satellite.example.com systemd[1]: Unit foreman-tasks.service entered failed state.
Oct 19 14:02:28 satellite.example.com systemd[1]: foreman-tasks.service failed.
Some services failed to status: foreman-tasks
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.