Unable to subscribe hosts to satellite 6 without DNS.
Issue
- Attempting to subscribe hosts to satellite 6 within local environment, system fails with gaierror: [Errno -3] Temporary failure in name resolution
# subscription-manager register --org="XYZ" --activationkey="Test" --baseurl https://satellite/server/url
Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
# tail -20 /var/log/rhsm/rhsm.log
installed_products=self.installed_mgr.format_for_server())
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 738, in registerConsumer
return self.conn.request_post(url, params)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 553, in request_post
return self._request("POST", method, params)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 453, in _request
conn.request(request_type, handler, body=body, headers=headers)
File "/usr/lib64/python2.6/httplib.py", line 914, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
self.endheaders()
File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib64/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib64/python2.6/site-packages/M2Crypto/httpslib.py", line 51, in connect
socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution
Environment
- Red Hat Satellite V 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
