-
-
Save Blitz2145/92b227b4dc9bf418cea6 to your computer and use it in GitHub Desktop.
Salt Minion TypeError
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Salt Package Repo | |
deb http://ppa.launchpad.net/saltstack/salt/ubuntu trusty main | |
## Salt Master Version Report | |
root@salt:~# salt --versions-report | |
Salt: 2015.5.3 | |
Python: 2.7.6 (default, Jun 22 2015, 17:58:13) | |
Jinja2: 2.7.2 | |
M2Crypto: 0.21.1 | |
msgpack-python: 0.3.0 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
libnacl: Not Installed | |
PyYAML: 3.10 | |
ioflo: Not Installed | |
PyZMQ: 14.0.1 | |
RAET: Not Installed | |
ZMQ: 4.0.4 | |
Mako: 0.9.1 | |
Tornado: Not Installed | |
Debian source package: 2015.5.3+ds-1trusty1 | |
## Salt Minion Version Report | |
Salt: 2015.5.3 | |
Python: 2.7.6 (default, Jun 22 2015, 17:58:13) | |
Jinja2: 2.7.2 | |
M2Crypto: 0.21.1 | |
msgpack-python: 0.3.0 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
libnacl: Not Installed | |
PyYAML: 3.10 | |
ioflo: Not Installed | |
PyZMQ: 14.0.1 | |
RAET: Not Installed | |
ZMQ: 4.0.4 | |
Mako: 0.9.1 | |
Tornado: Not Installed | |
Debian source package: 2015.5.3+ds-1trusty1 | |
## Salt Minion Traceback | |
root@seven:/home/rv# salt-call test.version | |
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
TypeError: coercing to Unicode: need string or buffer, NoneType found | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 227, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 59, in run | |
caller = salt.cli.caller.Caller.factory(self.config) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 69, in factory | |
return ZeroMQCaller(opts, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 92, in __init__ | |
self.minion = salt.minion.SMinion(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 298, in __init__ | |
opts['grains'] = salt.loader.grains(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 514, in grains | |
ret = fun() | |
File "/usr/lib/python2.7/dist-packages/salt/grains/core.py", line 1049, in os_data | |
with open(init_bin, 'rb') as fp_: | |
TypeError: coercing to Unicode: need string or buffer, NoneType found | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 227, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 59, in run | |
caller = salt.cli.caller.Caller.factory(self.config) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 69, in factory | |
return ZeroMQCaller(opts, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 92, in __init__ | |
self.minion = salt.minion.SMinion(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 298, in __init__ | |
opts['grains'] = salt.loader.grains(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 514, in grains | |
ret = fun() | |
File "/usr/lib/python2.7/dist-packages/salt/grains/core.py", line 1049, in os_data | |
with open(init_bin, 'rb') as fp_: | |
TypeError: coercing to Unicode: need string or buffer, NoneType found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment