salt icon indicating copy to clipboard operation
salt copied to clipboard

[minion] AttributeError: 'list' object has no attribute 'split'

Open arthurzenika opened this issue 12 years ago • 3 comments

When master does # salt --subset=1 * test.ping

I get on the minion

Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 759, in _thread_return
    for returner in set(data['ret'].split(',')):
AttributeError: 'list' object has no attribute 'split'

test.ping works though.

arthurzenika avatar Jan 23 '14 13:01 arthurzenika

Can you please post a --versions-report? I cannot replicate this on develop using a single minion:

$ sudo salt --subset=1 '*' test.ping
mikes-mbp.saltstack.net:
    True

cachedout avatar Jan 24 '14 20:01 cachedout

Also, you may need to surround your * with quotes or a forward-slash to escape it on the shell.

cachedout avatar Jan 24 '14 20:01 cachedout

Closing bug due to inactivity for several months. Cannot reproduce on latest release. Please reopen or log a new bug with updated information if problem re-surfaces.

ssgward avatar Nov 24 '14 22:11 ssgward