Public bug reported:
After accepting the keys with "salt-key -A", and running "sudo salt '*'
test.ping" to test the functionality between salt-master and salt-
minion, the following Traceback occurs:
==============================================================
ubuntu@esm-trusty-amd64:~$ sudo salt "*" test.ping
[ERROR ] An un-handled exception was caught by salt's global exception
handler:
TypeError: list indices must be integers, not str
Traceback (most recent call last):
File "/usr/bin/salt", line 10, in <module>
salt_main()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 117, in
salt_main
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 133, in run
for full_ret in cmd_func(**kwargs):
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 472, in
cmd_cli
**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 229, in
run_job
**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 1264,
in pub
return {'jid': payload['load']['jid'],
TypeError: list indices must be integers, not str
Traceback (most recent call last):
File "/usr/bin/salt", line 10, in <module>
salt_main()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 117, in
salt_main
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 133, in run
for full_ret in cmd_func(**kwargs):
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 472, in
cmd_cli
**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 229, in
run_job
**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 1264,
in pub
return {'jid': payload['load']['jid'],
TypeError: list indices must be integers, not str
==============================================================
This Traceback error occurs on trusty, version 0.17.5+ds-1ubuntu0.1~esm2
of the package. Earlier versions of this package seem to not have this
issue.
** Affects: salt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091653
Title:
salt: TypeError when runnning sudo salt "*" test.ping
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/salt/+bug/2091653/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs