state.sls test parameter gets stuck
Seems if I test a state like so:
salt hostname state.sls state.sls test=True
and then try this:
salt hostname state.sls state.sls
It still runs it with test as true. If I run it with test=False and then without specifying the parameter it runs not in test mode. It looks like the test state is getting preserved between calls somehow.
What version of salt are you using? I think this was a known issue that was fixed a few releases ago. Additionally, is the test=True getting stuck for Windows minions, Unix minions, or both?
I'm using the latest January 2014 release. Windows minions. I haven't tested unix. On Mar 28, 2014 8:46 AM, "Colton Myers" [email protected] wrote:
What version of salt are you using? I think this was a known issue that was fixed a few releases ago. Additionally, is the test=True getting stuck for Windows minions, Unix minions, or both?
Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/11592#issuecomment-38933879 .
It certainly sounds like the same issue -- it was only on Windows minions, as I recall. But I could've sworn we had the fix in for 2014.1.0.
This was the original fix: https://github.com/saltstack/salt/pull/8171
Do you have multiprocessing enabled for your Windows minions?
It's off in the config file.
On Fri, Mar 28, 2014 at 10:27 AM, Colton Myers [email protected]:
It certainly sounds like the same issue -- it was only on Windows minions, as I recall. But I could've sworn we had the fix in for 2014.1.0.
This was the original fix: #8171https://github.com/saltstack/salt/pull/8171
Do you have multiprocessing enabled for your Windows minions?
Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/11592#issuecomment-38945721 .
Thanks for the update. We'll try to reproduce and see if we can track down this regression.
I just tested this. This is working correctly in the develop branch as well as 2014.1.4
If you're still seeing this in those versions, please comment here and we'll reopen the issue.
Thanks!