Skip to content

Instantly share code, notes, and snippets.

@lordcirth
Created September 21, 2017 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lordcirth/355fee4c451feb0ec100711e89c69ff3 to your computer and use it in GitHub Desktop.
Save lordcirth/355fee4c451feb0ec100711e89c69ff3 to your computer and use it in GitHub Desktop.
Python traceback on state.apply
minion.domain:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1468, in _thread_return
return_data = executor.execute()
File "/usr/lib/python2.7/dist-packages/salt/executors/direct_call.py", line 28, in execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 593, in apply_
return highstate(**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 892, in highstate
orchestration_jid=orchestration_jid)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3650, in call_highstate
high, errors = self.render_highstate(matches)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3519, in render_highstate
sls, saltenv, mods, matches)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3319, in render_state
matches
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3258, in render_state
if inc_sls.startswith('.'):
AttributeError: 'float' object has no attribute 'startswith'
Salt Version:
Salt: 2017.7.1
Dependency Versions:
cffi: 1.5.2
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 1.0.1
ioflo: Not Installed
Jinja2: 2.8
libgit2: 0.24.0
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.3
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.24.0
Python: 2.7.12 (default, Nov 19 2016, 06:48:10)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
locale: UTF-8
machine: x86_64
release: 4.4.0-47-generic
system: Linux
version: Ubuntu 16.04 xenial
Salt Version:
Salt: 2017.7.1
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.3
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.12 (default, Nov 19 2016, 06:48:10)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
locale: UTF-8
machine: x86_64
release: 4.4.0-92-generic
system: Linux
version: Ubuntu 16.04 xenial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment