SUSE Support

Here When You Need Us

salt-minion crashes after successful registration using bootstrap script

This document (000020384) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 4.1 Server
SUSE Manager 4.2 Server

Situation

Salt client (in this particular case SUSE Linux Enterprise Server 12 SP5) is registered against SUSE Manager Server system using bootstrap script. Registration finishes correctly without any error message, however, salt-minion service crashes on registered client with following traceback:
2021-09-06T08:35:09.994838+00:00 blrrndobedev441 salt-minion[17503]: Traceback (most recent call last):
2021-09-06T08:35:09.994919+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib64/python2.7/multiprocessing/process.py", line 267, in _bootstrap
2021-09-06T08:35:09.994994+00:00 blrrndobedev441 salt-minion[17503]:     self.run()
2021-09-06T08:35:09.995076+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
2021-09-06T08:35:09.995152+00:00 blrrndobedev441 salt-minion[17503]:     self._target(*self._args, **self._kwargs)
2021-09-06T08:35:09.995224+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 164, in minion_process
2021-09-06T08:35:09.995296+00:00 blrrndobedev441 salt-minion[17503]:     minion.start()
2021-09-06T08:35:09.995367+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/cli/daemons.py", line 326, in start
2021-09-06T08:35:09.995437+00:00 blrrndobedev441 salt-minion[17503]:     self._real_start()
2021-09-06T08:35:09.995518+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/cli/daemons.py", line 338, in _real_start
2021-09-06T08:35:09.995593+00:00 blrrndobedev441 salt-minion[17503]:     self.minion.tune_in()
2021-09-06T08:35:09.995665+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1089, in tune_in
2021-09-06T08:35:09.995737+00:00 blrrndobedev441 salt-minion[17503]:     self._spawn_minions()
2021-09-06T08:35:09.995809+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1027, in _spawn_minions
2021-09-06T08:35:09.995879+00:00 blrrndobedev441 salt-minion[17503]:     jid_queue=self.jid_queue)
2021-09-06T08:35:09.995951+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/minion.py", line 987, in _create_minion_object
2021-09-06T08:35:09.996022+00:00 blrrndobedev441 salt-minion[17503]:     jid_queue=jid_queue)
2021-09-06T08:35:09.996093+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1160, in __init__
2021-09-06T08:35:09.996202+00:00 blrrndobedev441 salt-minion[17503]:     self.opts['grains'] = salt.loader.grains(opts)
2021-09-06T08:35:09.996275+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/loader.py", line 819, in grains
2021-09-06T08:35:09.996347+00:00 blrrndobedev441 salt-minion[17503]:     ret = funcs[key]()
2021-09-06T08:35:09.996424+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 2254, in hostname
2021-09-06T08:35:09.996500+00:00 blrrndobedev441 salt-minion[17503]:     __FQDN__ = salt.utils.network.get_fqhostname()
2021-09-06T08:35:09.996576+00:00 blrrndobedev441 salt-minion[17503]:   File "/usr/lib/python2.7/site-packages/salt/utils/network.py", line 220, in get_fqhostname
2021-09-06T08:35:09.996647+00:00 blrrndobedev441 salt-minion[17503]:     socket.SOL_TCP, socket.AI_CANONNAME
2021-09-06T08:35:09.996718+00:00 blrrndobedev441 salt-minion[17503]: error: [Errno 110] Connection timed out

Resolution

Make sure that the registered client can resolve its FQDN as well as short name correctly. When client resolves both names correctly, salt-minion is started as expected after the registration.

Cause

Registered client can not resolve its short name (only FQDN).

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020384
  • Creation Date: 09-Sep-2021
  • Modified Date:13-Sep-2021
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.