Skip to content
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

Impossible to run salt command via Python subprocess #63713

Open
swood opened this issue Feb 14, 2023 · 2 comments
Open

Impossible to run salt command via Python subprocess #63713

swood opened this issue Feb 14, 2023 · 2 comments
Assignees
Labels
Bug broken, incorrect, or confusing behavior cannot-reproduce cannot be replicated with info/context provided info-needed waiting for more info needs-triage

Comments

@swood
Copy link

swood commented Feb 14, 2023

Hello.

I am trying to write a simple thing: run salt state.apply via a Python3 script, catch all exceptions and errors and put it into the output in a more friendly way as Salt does.
However, when I execute the simple subprocess.check_output script, I get:
Authentication error occurred.

In salt-master log I get:
Authentication failure of type "user" occurred.

Could anyone please help me to understand what is this error is about?

@swood swood added Bug broken, incorrect, or confusing behavior needs-triage labels Feb 14, 2023
@welcome
Copy link

welcome bot commented Feb 14, 2023

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@OrangeDog OrangeDog added cannot-reproduce cannot be replicated with info/context provided info-needed waiting for more info labels Feb 16, 2023
@OrangeDog
Copy link
Contributor

If you believe you have found a bug please fill out the bug template properly with all the details it requests.

I suspect this is a simple case of you not having the correct user authentication.

@Akm0d Akm0d self-assigned this Mar 26, 2024
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 cannot-reproduce cannot be replicated with info/context provided info-needed waiting for more info needs-triage
Projects
None yet
Development

No branches or pull requests

3 participants