hammer is failing on Red Hat Satellite 6.
Environment
- Red Hat Satellite 6.x
Issue
-
hammeris failing with the following error:[root@satellite ~]# hammer ping Error: 407 "Proxy Authentication Required"or,
[root@satellite ~]# hammer host info --id 123 Error: 502 "notresolvable"
Resolution
-
Unset the environment proxy from the satellite server:
# env |grep "http\|https\|proxy" # unset http_proxy # unset https_proxy
For more KB articles/solutions related to Red Hat Satellite 6.x hammer Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x hammer-related Issues
Root Cause
hammerwas unable to authenticate the environmental proxy.
Diagnostic Steps
-
Verify if the environmental proxy is set on the Satellite.
[root@satellite ~]# env |grep "http\|https\|proxy" http_proxy=https://myproxy.example.com:8080 https_proxy=https://myproxy.example.com:8080
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.