Why hammer command fails with "Error: Either :uri or :apidoc_cache_dir needs to be set" error?
Issue
- Why
hammer pingand any hammer command fails with below error:
# hammer ping
Error: Either :uri or :apidoc_cache_dir needs to be set
Warning: An error occured while loading module hammer_cli_csv
Error: Either :uri or :apidoc_cache_dir needs to be set
Warning: An error occured while loading module hammer_cli_foreman_bootdisk
Error: Either :uri or :apidoc_cache_dir needs to be set
Warning: An error occured while loading module hammer_cli_foreman_docker
Error: Either :uri or :apidoc_cache_dir needs to be set
Warning: An error occured while loading module hammer_cli_foreman_remote_execution
Warning: An error occured while loading module hammer_cli_foreman_tasks
Error: Either :uri or :apidoc_cache_dir needs to be set
Warning: An error occured while loading module hammer_cli_katello
Error: No such sub-command 'ping'
Environment
- Red Hat Satellite v 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.