Skip to content

[master] Use salt-call from salt bundle with transactional_update#65204

Closed
vzhestkov wants to merge 4 commits intosaltstack:masterfrom
vzhestkov:use-salt-call-from-salt-bundle-with-transactional_update
Closed

[master] Use salt-call from salt bundle with transactional_update#65204
vzhestkov wants to merge 4 commits intosaltstack:masterfrom
vzhestkov:use-salt-call-from-salt-bundle-with-transactional_update

Conversation

@vzhestkov
Copy link
Contributor

What does this PR do?

What issues does this PR fix or reference?

In some cases if both salt bundle and classic salt package installed on the same system, transactional_update module can wrongly execute salt-call of classic salt packge instead of salt bundle which was used to process the event.

Previous Behavior

Wrong salt-call executed inside the transaction while using transactional_update.

New Behavior

In case if the event processed with salt from the bundle transactional_update will call salt-call from the bundle explicitly.

Merge requirements satisfied?

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

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

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

@vzhestkov vzhestkov requested a review from a team as a code owner September 15, 2023 11:31
@vzhestkov vzhestkov requested review from Ch3LL and removed request for a team September 15, 2023 11:31
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Use salt-call from salt bundle with transactional_update [master] Use salt-call from salt bundle with transactional_update Sep 15, 2023
@vzhestkov vzhestkov force-pushed the use-salt-call-from-salt-bundle-with-transactional_update branch from 422ef4f to 05be8e2 Compare September 15, 2023 11:45
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:01 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:01 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:01 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:01 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:20 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 12:24 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:31 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:43 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:43 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:43 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:43 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:43 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 15, 2023 13:44 — with GitHub Actions Inactive
@vzhestkov vzhestkov force-pushed the use-salt-call-from-salt-bundle-with-transactional_update branch from 05be8e2 to f6e54bc Compare September 18, 2023 07:16
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 07:33 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 07:33 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 07:33 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 09:00 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 09:00 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 09:00 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 09:00 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 18, 2023 09:00 — with GitHub Actions Inactive
Copy link
Contributor

@meaksh meaksh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks

@dwoz dwoz added this to the Argon v3008.0 milestone Dec 18, 2023
agraul pushed a commit to agraul/salt that referenced this pull request Jan 27, 2025
* Use salt-call from the bundle with transactional_update

* Add test checking which salt-call is selected by executable

BACKPORT-UPSTREAM=saltstack#65204
@dwoz dwoz requested a review from a team as a code owner March 16, 2025 22:09
@twangboy
Copy link
Contributor

twangboy commented Apr 2, 2025

Please rebase and fix merge conflicts

@twangboy twangboy added merge-conflict PR has a merge conflict test:full Run the full test suite labels Jul 2, 2025
@vzhestkov
Copy link
Contributor Author

Closing in favour of salt-extensions/saltext-transactional-update#2

@vzhestkov vzhestkov closed this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflict PR has a merge conflict test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants