salt icon indicating copy to clipboard operation
salt copied to clipboard

state.sls test parameter gets stuck

Open gtmacdonald opened this issue 12 years ago • 6 comments

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.

gtmacdonald avatar Mar 27 '14 18:03 gtmacdonald

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?

basepi avatar Mar 28 '14 15:03 basepi

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 .

gtmacdonald avatar Mar 28 '14 15:03 gtmacdonald

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?

basepi avatar Mar 28 '14 17:03 basepi

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 .

gtmacdonald avatar Mar 28 '14 19:03 gtmacdonald

Thanks for the update. We'll try to reproduce and see if we can track down this regression.

basepi avatar Mar 31 '14 15:03 basepi

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!

UtahDave avatar Jun 02 '14 20:06 UtahDave