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

[8.14](backport #4727) Make delayed enrollment try indefinitely #4800

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 23, 2024

What does this PR do?

Make delayed enrollment try indefinitely to enroll into Fleet.

Why is it important?

In some cases when a new machine comes online with delayed enrollment it doesn't have network access immediately so the enrollment needs to keep trying until it is able to successfully enroll into Fleet.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

Doesn't disrupt the user, it provides the more reliability for delayed enrollment.

How to test this PR locally

  1. Install with --delay-enroll
  2. Manually start the Elastic Agent service
  3. Should enroll and then run.

Related issues


This is an automatic backport of pull request #4727 done by [Mergify](https://mergify.com).

* Make delay enrollment indefinite.

* Add changelog entry.

(cherry picked from commit c14df02)
@mergify mergify bot requested a review from a team as a code owner May 23, 2024 03:19
@mergify mergify bot added the backport label May 23, 2024
@mergify mergify bot requested review from AndersonQ and pchila and removed request for a team May 23, 2024 03:19
@ycombinator
Copy link
Contributor

⚠️ DO NOT MERGE THIS PR until 8.14.0 has been released to avoid adding risk to the final build candidate ⚠️

Copy link
Contributor Author

mergify bot commented May 27, 2024

This pull request has not been merged yet. Could you please review and merge it @blakerouse? 🙏

2 similar comments
Copy link
Contributor Author

mergify bot commented Jun 3, 2024

This pull request has not been merged yet. Could you please review and merge it @blakerouse? 🙏

Copy link
Contributor Author

mergify bot commented Jun 10, 2024

This pull request has not been merged yet. Could you please review and merge it @blakerouse? 🙏

@pierrehilbert
Copy link
Contributor

@blakerouse we will miss the 8.14.1 version unless we are merging this today.
What is your level of confidence with this change? Should we merge it today?
cc @ycombinator

@blakerouse blakerouse enabled auto-merge (squash) June 10, 2024 15:34
@blakerouse
Copy link
Contributor

Very confident, this should be merged.

@blakerouse blakerouse merged commit 1348b9c into 8.14 Jun 10, 2024
14 checks passed
@blakerouse blakerouse deleted the mergify/bp/8.14/pr-4727 branch June 10, 2024 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants