salt-cloud returns '0' return code when errors are encountered
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, thanks for the report. This is related to #18510.
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.