How to setup hammer API request timeout on Satellite 6
Issue
hammer -u <USER> -p <PASS> product list --organization Default_Organization --per-page 1000
ended with timed out error.- But issuing
hammer -u <USER> -p <PASS>
ping did not end with a timeout error - How to set longer timeout to avoid this issue?
- We have >500 content-hosts listed in Satellite, running
hammer content-host list --organization <orgname>
ends up withError: Request Timeout
after ~2 minutes.
Errors which can be experienced with hammer:
- Timeout error
- Timed out connecting to server
- Timed out reading data from server
Environment
- Red Hat Satellite 6
- hammer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.