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.16](backport #3991) Don't fail checkin if agent has upgrade details with no action #4035

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 23, 2024

What is the problem this PR solves?

Relates https://github.com/elastic/ingest-dev/issues/4223

We're investigating an issue in a serverless project where Fleet Server keeps throwing 500 on agent checkin because the agent has upgrade details but the action id they refer to is not found.

How does this PR solve the problem?

Modify Checkin.processUpgradeDetails so that checkin does not fail in this scenario and log a warning instead.


This is an automatic backport of pull request #3991 done by Mergify.

Don't fail checkin if agent has upgrade details with no action

(cherry picked from commit 9dc43b0)
@mergify mergify bot requested a review from a team as a code owner October 23, 2024 08:57
@mergify mergify bot added the backport label Oct 23, 2024
@mergify mergify bot requested review from kaanyalti and pchila October 23, 2024 08:57
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Oct 23, 2024
@pierrehilbert pierrehilbert merged commit 6f99194 into 8.16 Oct 23, 2024
8 checks passed
@pierrehilbert pierrehilbert deleted the mergify/bp/8.16/pr-3991 branch October 23, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants