salt icon indicating copy to clipboard operation
salt copied to clipboard

salt-cloud returns '0' return code when errors are encountered

Open trevor-h opened this issue 11 years ago • 2 comments

I've noticed whenever encountering a provider API error (reaching quota, etc) that the salt-cloud output will display all errors, but then still exit with a 0 return code.

This can lead to issues when evaluating status of launching instances or maps without closely inspecting the output. I would expect any failure to launch a requested resource should lead to a non-zero return code for the command as a whole (even when operating in parallel).

trevor-h avatar Sep 17 '15 17:09 trevor-h

@trevor-h, thanks for the report. This is related to #18510.

jfindlay avatar Sep 17 '15 18:09 jfindlay

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.

stale[bot] avatar Jan 04 '18 19:01 stale[bot]