How to use `hammer` cli on a capsule

Solution Unverified - Updated -

Issue

  • hammer cli fails to connect to the Satellite Capsule Server with the error message:
$ hammer -u <USERNAME> -p <PASSWORD> -s https://localhost host list
Could not load the API description from the server
  - 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
  • How can I use the hammer cli from a Capsule server?

Environment

  • Satellite Server 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.