How to setup hammer API request timeout on Satellite 6

Solution Verified - Updated -

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 with Error: Request Timeout after ~2 minutes.

Environment

  • Red Hat Satellite 6
  • hammer

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.