Hi,
I have fresh installation of Uyuni 4.0.1 on fully updated Leap 42.3 and I
have problems bootstrapping minions on /rhn/manager/systems/bootstrap page.
After click on "Bootstrap" button, it shows " Error during applying the
bootstrap state, message: Response code: 500". I didn't do any configuration
- I just created admin user. I traced error to salt-api that logs following
while bootstrapping minion (fqdn of minion is replaced with
"minion.domain"):
[DEBUG ] Rendered data from file: /etc/salt/roster:
# Sample salt-ssh config file
#web1:
# host: 192.168.42.1 # The IP addr or DNS hostname
# user: fred # Remote executions will be executed as user fred
# passwd: foobarbaz # The password to use for login, if omitted, keys are
used
# sudo: True # Whether to sudo to root, not enabled by default
#web2:
# host: 192.168.42.2
# Automatically added by "salt" at 2019-04-08T19:44:36.714140
None:
host: None
user: root
passwd:
# Automatically added by "salt" at 2019-04-08T19:54:16.464249
None:
host: None
user: root
passwd:
[ERROR ] Unable to render roster file: while constructing a mapping
in "<unicode string>", line 11, column 1:
None:
^
found conflicting ID 'None'
in "<unicode string>", line 16, column 1:
None:
^
[DEBUG ] Matched minions: {}
[INFO ] [u'minion.domain']
[DEBUG ] Error while processing request for: /run
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/netapi/rest_cherrypy/app.py",
line 858, in hypermedia_handler
ret = cherrypy.serving.request._hypermedia_inner_handler(*args,
**kwargs)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 61,
in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.7/site-packages/salt/netapi/rest_cherrypy/app.py",
line 2135, in POST
'return': list(self.exec_lowstate()),
File "/usr/lib/python2.7/site-packages/salt/netapi/rest_cherrypy/app.py",
line 1185, in exec_lowstate
ret = self.api.run(chunk)
File "/usr/lib/python2.7/site-packages/salt/netapi/__init__.py", line 75,
in run
return l_fun(*f_call.get('args', ()), **f_call.get('kwargs', {}))
File "/usr/lib/python2.7/site-packages/salt/netapi/__init__.py", line 140,
in ssh
return ssh_client.cmd_sync(kwargs)
File "/usr/lib/python2.7/site-packages/salt/client/ssh/client.py", line
179, in cmd_sync
**kwargs)
File "/usr/lib/python2.7/site-packages/salt/client/ssh/client.py", line
141, in cmd
**kwargs)
File "/usr/lib/python2.7/site-packages/salt/client/ssh/client.py", line
73, in _prep_ssh
return salt.client.ssh.SSH(opts)
File "/usr/lib/python2.7/site-packages/salt/client/ssh/__init__.py", line
233, in __init__
self._update_targets()
File "/usr/lib/python2.7/site-packages/salt/client/ssh/__init__.py", line
401, in _update_targets
if salt.utils.network.is_reachable_host(hostname):
File "/usr/lib/python2.7/site-packages/salt/utils/network.py", line 236,
in is_reachable_host
assert type(socket.getaddrinfo(entity_name, 0, 0, 0, 0)) == list
TypeError: getaddrinfo() argument 1 must be string or None
What am I doing wrong?
Thanks,
Regards,
Pavel
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org