You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--static option in salt raises ValueError and has been broken for a very long time #24776
[root@nitin-salt-develop ~]# salt '*' --static test.ping
[ERROR ] An un-handled exception was caught by salt's global exception handler:
ValueError: list.remove(x): x not in list
Traceback (most recent call last):
File "/usr/bin/salt", line 10, in <module>
salt_main()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 349, in salt_main
client.run()
File "/usr/lib/python2.6/site-packages/salt/cli/salt.py", line 90, in run
for res in batch.run():
File "/usr/lib/python2.6/site-packages/salt/cli/batch.py", line 179, in run
active.remove(minion)
ValueError: list.remove(x): x not in list
Traceback (most recent call last):
File "/usr/bin/salt", line 10, in <module>
salt_main()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 349, in salt_main
client.run()
File "/usr/lib/python2.6/site-packages/salt/cli/salt.py", line 90, in run
for res in batch.run():
File "/usr/lib/python2.6/site-packages/salt/cli/batch.py", line 179, in run
active.remove(minion)
ValueError: list.remove(x): x not in list
This fix also needs to be applied to Salt-Enterprise 4.0.2 and older
changed the title [-]--static option in salt raises TypeError and has been broken for a very long time[/-][+]--static option in salt raises ValueError and has been broken for a very long time[/+]on Jun 18, 2015
Activity
Fixing issue where --static option fails with ValueError Fixes saltst…
[-]--static option in salt raises TypeError and has been broken for a very long time[/-][+]--static option in salt raises ValueError and has been broken for a very long time[/+]Merge pull request #24777 from nmadhok/develop