Last active
December 24, 2015 12:29
-
-
Save therealbill/6797785 to your computer and use it in GitHub Desktop.
Gettign this error on salt 0.17.0-438-gbbd35e7 during a highstate run. worked fine on 0.17.0-34-gb19c17c
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
[INFO ] Executing state pkg.installed for python-pip | |
[INFO ] Package python-pip is already installed | |
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
TypeError: sequence item 1: expected string, int 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 77, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 303, in run | |
caller.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 135, in run | |
ret = self.call() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 78, in call | |
ret['return'] = func(*args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 259, in highstate | |
cache_name=kwargs.get('cache_name', 'highstate') | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2296, in call_highstate | |
return self.state.call_high(high) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1551, in call_high | |
ret = self.call_chunks(chunks) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1283, in call_chunks | |
running = self.call_chunk(low, running, chunks) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1525, in call_chunk | |
self.event(running[tag]) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1388, in event | |
tag = salt.utils.event.tagify([self.jid, chunk_ret['__run_num__']]) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/event.py", line 119, in tagify | |
return( TAGPARTER.join([part for part in parts if part] ) | |
TypeError: sequence item 1: expected string, int found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I added a print statement to /usr/lib/python2.7/dist-packages/salt/utils/event.py at 119 to see the value of 'parts', it output ['salt', '', None, 1]