Salt-minion will not start on a freshly installed FreeBSD 12.0
Johan Hendriks
joh.hendriks at gmail.com
Wed Jan 9 11:32:37 UTC 2019
Hello all,
I use salt to configure my machines and all is fine.
I have a new machine installed from USB and i can not start salt-minion.
It comes to the part Generating keys and then it stops and place a
pyhton27.core file.
I also checked with python3.6 which has the same result.
I used the ports tree to install and my poudriere but it always fails.
The strange part is that on machines that I updated from 11.x to 12.0
the minion starts fine?
My minion log logs this (the end)
2019-01-09 12:22:37,986
[salt.utils.process :35
][TRACE ][46009] Process manager iteration
2019-01-09 12:22:38,022
[salt.minion :674
][DEBUG ][46009] Connecting to master. Attempt 1 of 1
2019-01-09 12:22:38,023
[salt.minion :237
][DEBUG ][46009] Master URI: tcp://192.168.2.247:4506
2019-01-09 12:22:38,041
[salt.crypt :463
][DEBUG ][46009] Initializing new AsyncAuth for
(u'/usr/local/etc/salt/pki/minion', u'rtr51.server.netaffairs.nl',
u'tcp://192.168.2.247:4506')
2019-01-09 12:22:38,042
[salt.crypt :778
][INFO ][46009] Generating keys: /usr/local/etc/salt/pki/minion
If i recompile python2.7 with debug enabled i see the following.
2019-01-09 12:18:19,293
[salt.utils.process :35
][TRACE ][38352] Process manager iteration
2019-01-09 12:18:19,346
[salt.minion :674
][DEBUG ][38352] Connecting to master. Attempt 1 of 1
2019-01-09 12:18:19,346
[salt.minion :237
][DEBUG ][38352] Master URI: tcp://192.168.2.247:4506
2019-01-09 12:18:19,371
[salt.minion
:1014][CRITICAL][38352] Unexpected error while connecting to 192.168.2.247
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line
997, in _connect_minion
yield minion.connect_master(failed=failed)
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line
1055, in run
value = future.result()
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py",
line 238, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line
1063, in run
yielded = self.gen.throw(*exc_info)
File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line
1188, in connect_master
master, self.pub_channel = yield self.eval_master(self.opts,
self.timeout, self.safe, failed)
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line
1055, in run
value = future.result()
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py",
line 238, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line
307, in wrapper
yielded = next(result)
File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line
697, in eval_master
pub_channel =
salt.transport.client.AsyncPubChannel.factory(self.opts, **factory_kwargs)
File
"/usr/local/lib/python2.7/site-packages/salt/transport/client.py", line
161, in factory
import salt.transport.zeromq
File
"/usr/local/lib/python2.7/site-packages/salt/transport/zeromq.py", line
31, in <module>
import salt.transport.mixins.auth
File
"/usr/local/lib/python2.7/site-packages/salt/transport/mixins/auth.py",
line 36, in <module>
from Crypto.Cipher import PKCS1_OAEP
File
"/usr/local/lib/python2.7/site-packages/Crypto/Cipher/PKCS1_OAEP.py",
line 57, in <module>
import Crypto.Signature.PKCS1_PSS
File
"/usr/local/lib/python2.7/site-packages/Crypto/Signature/PKCS1_PSS.py",
line 74, in <module>
from Crypto.Util.strxor import strxor
ImportError:
/usr/local/lib/python2.7/site-packages/Crypto/Util/strxor.so: Undefined
symbol "Py_InitModule4_64"
2019-01-09 12:18:19,372
[salt.minion :674
][DEBUG ][38352] Connecting to master. Attempt 1 of 1
2019-01-09 12:18:19,372
[salt.minion :237
][DEBUG ][38352] Master URI: tcp://192.168.2.247:4506
2019-01-09 12:18:19,374
[salt.minion
:1014][CRITICAL][38352] Unexpected error while connecting to 192.168.2.247
What can i do to find out where it goes wrong
regards
Johan
More information about the freebsd-questions
mailing list