You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The salt minion dies with the following error as soon as its key is accepted on the master:
TypeError: string indices must be integers, not str
Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 56, in salt_minion
minion.start()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 262, in start
self.prepare()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 241, in prepare
self.minion = salt.minion.Minion(self.config)
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 603, in __init__
opts['environment'],
File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py", line 91, in compile_pillar
ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load, dictkey='pillar', tries=3, timeout=7200)
File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py", line 236, in crypted_transfer_decode_dictentry
aes = key.private_decrypt(ret['key'], 4)
TypeError: string indices must be integers, not str
Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 56, in salt_minion
minion.start()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 262, in start
self.prepare()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 241, in prepare
self.minion = salt.minion.Minion(self.config)
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 603, in __init__
opts['environment'],
File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py", line 91, in compile_pillar
ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load, dictkey='pillar', tries=3, timeout=7200)
File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py", line 236, in crypted_transfer_decode_dictentry
aes = key.private_decrypt(ret['key'], 4)
TypeError: string indices must be integers, not str
versions on minion
$ salt-call --versions-report
Salt: 2014.7.0
Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.4.1
RAET: Not Installed
ZMQ: 3.2.4
Mako: Not Installed
versions on master
$ salt-call --versions
Salt: 2014.7.0
Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: Not Installed
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.4.1
RAET: Not Installed
ZMQ: 3.2.4
Mako: Not Installed
The text was updated successfully, but these errors were encountered:
I figured out the problem. Pycrypto was a different version on the master. Upgrading pycrypto to 2.6.1 on both master and minion and restarting master/minion fixed the issue.
The salt minion dies with the following error as soon as its key is accepted on the master:
versions on minion
versions on master
The text was updated successfully, but these errors were encountered: