Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr-inter-sync --list-channels problem sync with slave #2467

Open
santix1989 opened this issue Sep 20, 2023 · 2 comments
Open

mgr-inter-sync --list-channels problem sync with slave #2467

santix1989 opened this issue Sep 20, 2023 · 2 comments

Comments

@santix1989
Copy link

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 ?
@keichwa
Copy link
Contributor

keichwa commented Sep 21, 2023

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).

@0rnela
Copy link
Contributor

0rnela commented Oct 9, 2023

@santix1989 -- are you OK with us closing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants