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

Reboot on salt key timeout (bsc#1237495) #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nadvornik
Copy link
Contributor

Salt minion sometimes fails to create minion key. This PR adds a reboot after timeout to prevent infinite waiting.

@nadvornik nadvornik requested a review from aaannz March 3, 2025 14:45
Copy link

@vzhestkov vzhestkov left a comment

Choose a reason for hiding this comment

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

The only nitpicky comment I have: let's maybe change the name of SALT_TIMEOUT to something more self-explanatory? There are a lot of internal timeout parameters for salt and it could be not that clear from the first glance what this one refers to, and finally it leads to the finding that it refers to none of them.

@aaannz
Copy link
Collaborator

aaannz commented Mar 3, 2025

We can't change SALT_TIMEOUT unfortunately as it is basically our public API and in use by some of our users.

We can only deprecate it and introduce better value, for example rd.saltboot.salt_timeout to follow dracut naming scheme.

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.

3 participants