"hammer ping" command on the Satellite Server fails with the following error - Could not load the API description from the server: Server broke connection - is the server down?
Issue
-
Why does the
hammer ping
command fail with the following error onRed Hat Satellite
-# hammer ping Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_ansible. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_bootdisk. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_openscap. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_remote_execution. Warning: An error occured while loading module hammer_cli_foreman_tasks. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_templates. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_virt_who_configure. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_foreman_webhooks. Could not load the API description from the server: Server broke connection - is the server down? - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings) Warning: An error occured while loading module hammer_cli_katello. Error: No such sub-command 'ping'. See: 'hammer --help'.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.