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

MONITOR: tune startup logic a bit #7365

Closed
wants to merge 2 commits into from

Conversation

alexey-tikhonov
Copy link
Member

@alexey-tikhonov alexey-tikhonov commented May 9, 2024

Before those patches monitor performed several attempts to start a provider, then started responders, and then quit anyway because all attempt to start a provider were eventually exhausted.

This patch tunes timer so that all attempts to start a provider are exhausted before timer fires (and responders aren't even started).

User visible change is that SSSD now properly notifies systemd that service start failed (instead of reporting it started and then terminated).

@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label May 9, 2024
@alexey-tikhonov alexey-tikhonov marked this pull request as ready for review May 10, 2024 12:44
@alexey-tikhonov alexey-tikhonov requested a review from pbrezina May 10, 2024 12:48
@aborah-sudo
Copy link
Contributor

From test prospective patch is working now

so that it is aligned with MONITOR_MAX_SVC_RESTARTS & MONITOR_MAX_RESTART_DELAY
This more or less cosmetic change in the sense that currently
this code / condition shouldn't be reachable (see comment in the
patch).
@alexey-tikhonov
Copy link
Member Author

(rebased)

Copy link
Contributor

@sumit-bose sumit-bose left a comment

Choose a reason for hiding this comment

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

Hi,

thanks for the patch, works for me, ACK.

bye,
Sumit

@alexey-tikhonov
Copy link
Member Author

Pushed PR: #7365

  • master
    • 6de231d - MONITOR: quit if any of providers didn't start
    • f32b021 - MONITOR: increase 'services_startup_timeout'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants