-
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
[BUG] tuned state does not report error #60500
Labels
Bug
broken, incorrect, or confusing behavior
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Comments
OrangeDog
added
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
and removed
needs-triage
labels
Jul 9, 2021
I have a fix for this in progress; tested the modules but am still working on confirming the state functionality (and docs/tests/etc). |
This comment has been minimized.
This comment has been minimized.
3 tasks
leeclemens
added a commit
to leeclemens/salt
that referenced
this issue
Jul 13, 2021
Replace stdout in cases of success with known value for state to evaluate. Update response handling in states. Fixes saltstack#60500
leeclemens
added a commit
to leeclemens/salt
that referenced
this issue
Dec 17, 2023
Replace stdout in cases of success with known value for state to evaluate. Update response handling in states. Fixes saltstack#60500
3 tasks
dwoz
pushed a commit
to leeclemens/salt
that referenced
this issue
Dec 18, 2023
Replace stdout in cases of success with known value for state to evaluate. Update response handling in states. Fixes saltstack#60500
leeclemens
added a commit
to leeclemens/salt
that referenced
this issue
Dec 19, 2023
Replace stdout in cases of success with known value for state to evaluate. Update response handling in states. Fixes saltstack#60500
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
broken, incorrect, or confusing behavior
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Description
If
tuned-adm profile xyz
fails, the output is ignored. If setting the state, the returnednew
value isFalse
and the state is reported as changed and Succeeded.If the profile does not exist at all, a Traceback is returned. This could perhaps be formatted nicer, at least for this known error condition.
Minor: The state example does not appear to be formatted correctly.
Setup
testit.sls
Steps to Reproduce the behavior
Create a malformed custom tuned profile and use the state to set it. I had two
include
keywords in[main]
.Expected behavior
The state's response could include useful information (not currently returned by module) and at a minimum indicate an error occurred (not Succeeded/changed).
Screenshots
tuned-adm output
tuned.profile module
state.sls
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
N/A
The text was updated successfully, but these errors were encountered: