mgr-inter-sync --list-channels problem sync with slave
santix1989 opened this issue · comments
Hi,
I have configured 2 nodes, one master and one slave, with this step :
https://www.uyuni-project.org/uyuni-docs/en/uyuni/administration/iss.html
when started the sync, have this issue :
mgr-inter-sync --list-channels
15:58:41 Uyuni - live synchronization
15:58:41 url: https://XXXXXXX
15:58:41 debug/output level: 1
15:58:41 --- Warning: SSL connection made but no CA certificate used
HOST: 443
15:58:41
15:58:41
ERROR: there was a problem synchronizing the information.
Error message: [Errno -2] Name or service not known
15:58:41 *** TRACEBACK:
15:58:41 Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/satsync.py", line 215, in main
self.syncer.initialize()
File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/satsync.py", line 558, in initialize
auth.checkAuth()
File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 378, in checkAuth
authYN = self._xmlrpc('authentication.check', (self.systemid,))
File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 357, in _xmlrpc
retval = getattr(BaseWireSource.serverObj, function)(*params)
File "/usr/lib/python3.6/site-packages/rhn/rpclib.py", line 659, in __call__
return self._send(self._name, args)
File "/usr/lib/python3.6/site-packages/rhn/rpclib.py", line 391, in _request
self._handler, request, verbose=self._verbose)
File "/usr/lib/python3.6/site-packages/rhn/transports.py", line 177, in request
headers, fd = req.send_http(host, handler)
File "/usr/lib/python3.6/site-packages/rhn/transports.py", line 728, in send_http
self._connection.connect()
File "/usr/lib/python3.6/site-packages/rhn/connections.py", line 191, in connect
socket.AF_UNSPEC, socket.SOCK_STREAM)
File "/usr/lib64/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
15:58:41 *** BASIC INFO:
(<class 'socket.gaierror'>, gaierror(-2, 'Name or service not known'))
I have print the variables with :
print("HOST:",self.host,self.port)
output is:
HOST: 443
host is null, on:
```
results = socket.getaddrinfo(self.host, self.port,
socket.AF_UNSPEC, socket.SOCK_STREAM)
if try to set the host with:
`self.host="XXXXXXXXXXX"`
the command work.
Could you help me please ?
Thanks for your help request. But this is the Uyuni documentation issue board. For help, can you please try one of the options listed at https://www.uyuni-project.org/pages/contact.html (see Github discussions or Gitter chat channels).
It looks as if something is not properly configured with your name service (DNS).
@santix1989 -- are you OK with us closing this issue?