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

[WIP] [3006.x] Initial re-do of changes for _sync_grains only affecting masterless minions #65792

Open
wants to merge 4 commits into
base: 3006.x
Choose a base branch
from

Conversation

dmurphy18
Copy link
Contributor

What does this PR do?

Ensures that grains are sync'd before loading grains and then compiling pillar, since there could be custom grains used in pillar files, which will throw rendering errors if not found, when in masterless mode on a salt-minion

What issues does this PR fix or reference?

Fixes: #65027

Previous Behavior

Would throw rendering errors if custom grains in salt://_grains were used in pillar files, salt-minion in masterless mode.

New Behavior

No rendering errors thrown if custom grains in salt://_grains were used in pillar files, and custom grains values available in pillar, and salt-minion in masterless mode.

Additional tests to be written ensuring use with a salt-master is unaffected.

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 January 4, 2024 21:45
@dmurphy18 dmurphy18 requested review from whytewolf and removed request for a team January 4, 2024 21:45
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title [WIP] initial re-do of changes for _sync_grains only affecting masterless minions [3006.x][WIP] initial re-do of changes for _sync_grains only affecting masterless minions Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants