Created
May 28, 2020 09:00
-
-
Save bochi/b39dc8a4248f41a56125617bdd6988aa to your computer and use it in GitHub Desktop.
unicode error in salt lookup jid
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-run jobs.lookup_jid 20200527114512123786 | |
Traceback (most recent call last): | |
File "/bin/salt-run", line 11, in <module> | |
load_entry_point('salt==3000.3', 'console_scripts', 'salt-run')() | |
File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 457, in salt_run | |
client.run() | |
File "/usr/lib/python2.7/site-packages/salt/cli/run.py", line 40, in run | |
ret = runner.run() | |
File "/usr/lib/python2.7/site-packages/salt/runner.py", line 273, in run | |
daemonize=False) | |
File "/usr/lib/python2.7/site-packages/salt/client/mixins.py", line 472, in _proc_function | |
return self.low(fun, low, full_return=False) | |
File "/usr/lib/python2.7/site-packages/salt/client/mixins.py", line 414, in low | |
namespaced_event.fire_event(data, 'ret') | |
File "/usr/lib/python2.7/site-packages/salt/utils/event.py", line 933, in fire_event | |
self.print_func(tag, data) | |
File "/usr/lib/python2.7/site-packages/salt/client/mixins.py", line 550, in print_async_event | |
salt.output.display_output(event_data, outputter, self.opts) | |
File "/usr/lib/python2.7/site-packages/salt/output/__init__.py", line 96, in display_output | |
display_data = try_printout(data, out, opts, **kwargs) | |
File "/usr/lib/python2.7/site-packages/salt/output/__init__.py", line 43, in try_printout | |
printout = get_printout(out, opts)(data, **kwargs) | |
File "/usr/lib/python2.7/site-packages/salt/output/highstate.py", line 159, in output | |
for host, hostdata in six.iteritems(data) | |
File "/usr/lib/python2.7/site-packages/salt/output/highstate.py", line 270, in _format_host | |
comps = tname.split('_|-') | |
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 69: ordinal not in range(128) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment