saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.1k stars 5.47k forks source link

CLI options "--async" and "--batch-size" are not compatible. #25362

Open jarpy opened 9 years ago

jarpy commented 9 years ago

When invoking the Salt command line client with both the --async and --batch-size options, --async is ignored. The batch is run in the foreground, and the shell waits for it to return.

cachedout commented 9 years ago

Hmm, yes. I'm not sure this ever worked. (I honestly haven't tried before.) We'll have to take a look here and see what it will take to ensure that batch mode runs correctly in asynchronous mode. Thanks very much for letting us know. Sorry about the oversight here!

mimianddaniel commented 8 years ago

The fact the each new batch job gets its own jid, and current async job runs under a single jid, i am not sure if this would be a easy fix. @cachedout any idea as to how to make this work??

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

brandon-sling commented 4 years ago

This still seems to be an issue in 2019.2.3

danlsgiga commented 4 years ago

Just noticed this behaviour on 3000.2 as well. Can this be reopened?

danlsgiga commented 4 years ago

I guess this is in the works according to https://github.com/saltstack/salt/pull/55268

DmitryKuzmenko commented 4 years ago

@danlsgiga sorry for late response. I've reopened this.

Ch3LL commented 1 year ago

I've confirmed this is still an issue on the head of 3006.x