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

[3006.x] Populate user data / name within runners and for runner events on the event bus #64038

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

dmurphy18
Copy link
Contributor

What does this PR do?

Populates the user correctly through out runners and reported as such on the events on the event bus.
First noticed in orchestration runners in #63148 found this problem runs much deeper. saltutil.runner when called from the salt cli will properly propagate the user, as will the runner orchestrate.

Re-working of PR #64030 but specifically against 3006.x branch for a cleaner PR.

What issues does this PR fix or reference?

Fixes: #63148

Previous Behavior

The user responsible for the runner was reported as 'UNKNOWN' in the events on the event bus.

New Behavior

The user responsible for the runner is now correctly reported in the events on the event bus.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@dmurphy18 dmurphy18 requested a review from a team as a code owner April 6, 2023 22:41
@dmurphy18 dmurphy18 requested review from MKLeb and removed request for a team April 6, 2023 22:41
@dmurphy18 dmurphy18 added the Sulfur v3006.0 release code name and version label Apr 6, 2023
@dmurphy18 dmurphy18 added this to the Sulfur v3006.0 milestone Apr 6, 2023
whytewolf
whytewolf previously approved these changes Apr 6, 2023
@dmurphy18
Copy link
Contributor Author

Well this worked with classic 3005.1 hand-modified and with master branch, but not 3006.x, investigating why

@whytewolf
Copy link
Collaborator

Well this worked with classic 3005.1 hand-modified and with master branch, but not 3006.x, investigating why

you forgot the saltmod fix in this one.

https://github.com/saltstack/salt/pull/64030/files#diff-f6c5d53219e55de2e0d3321b81d1041965330dfd79f2f9eecb269df8ba829611

@dmurphy18
Copy link
Contributor Author

@whytewolf tried that locally and failed. and doesn't explain why it worked on master branch with existing changes.

@garethgreenaway garethgreenaway merged commit eb81fae into saltstack:3006.x Apr 11, 2023
@dmurphy18 dmurphy18 deleted the dt_fix_63148_3006x branch March 13, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants