-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3006.x] Fix salt-ssh state.*
commands retcode for render fail
#64515
Conversation
state.*
commands retcode for render failstate.*
commands retcode for render fail
state.*
commands retcode for render failstate.*
commands retcode for render fail
This looks to be ready, but you have this PR in draft mode. Am I good to review? |
@Ch3LL Sure! Since the SSH system is a bit convoluted, I wanted some time to consider alternative approaches, but I'm always happy to read your opinion. And if you're fine with this, so am I. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. Thanks. Let me just get someone else from the core team to review this as well.
What does this PR do?
Ensures a state/pillar rendering failure is reported with a non-zero exit code by salt-ssh.
What issues does this PR fix or reference?
Fixes: #64514
This also adds a test that tried, but failed to reproduce #50727, and a test for general module failure retcodes.
Previous Behavior
exit(0)
New Behavior
exit(20) (the same as all other failures are reported with)
Merge requirements satisfied?
Commits signed with GPG?
Yes