Skip to content

Conversation

michalpristas
Copy link
Contributor

@michalpristas michalpristas commented Sep 8, 2025

Related issue is fixed on endpoint side and requires us to forward action to them.

Strategy here is to send MIGRATION action to them so they can prepare and update keys when new config arrives (after reenroll). without this they would consider new policy as untrustworthy
isMigrationInProgress bool was added to coordinator for that purpose, we don't clear it to default value, migration is successful therefore we need to reexec very soon.

Related: #9534

@michalpristas michalpristas self-assigned this Sep 8, 2025
@michalpristas michalpristas requested a review from a team as a code owner September 8, 2025 14:00
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Sep 9, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Copy link
Contributor

mergify bot commented Sep 24, 2025

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b migrate/forward-migrate-endpoint upstream/migrate/forward-migrate-endpoint
git merge upstream/main
git push upstream migrate/forward-migrate-endpoint

@michalpristas
Copy link
Contributor Author

just tested this with endpoint changes in place, we don't see ES failures anymore

…ristas/elastic-agent into migrate/forward-migrate-endpoint
Copy link
Contributor

@pkoutsovasilis pkoutsovasilis left a comment

Choose a reason for hiding this comment

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

waiting for the CI to be green, but overall this LGTM

@pkoutsovasilis pkoutsovasilis self-requested a review September 25, 2025 12:13
Copy link

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @michalpristas

Copy link
Contributor

@pkoutsovasilis pkoutsovasilis left a comment

Choose a reason for hiding this comment

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

LGTM

@michalpristas michalpristas merged commit a4704e8 into elastic:main Sep 25, 2025
23 checks passed
v1v added a commit that referenced this pull request Sep 26, 2025
* upstream: (505 commits)
  Update journald tests now that Filebeat supports watching folders (#10131)
  [deploy/kubernetes]: add info about hostPID for Universal Profiling (#10173)
  Fall back to process runtime if otel runtime is unsupported (#10087)
  Conditionall check for ms_tls13kdf build tag (#10160)
  [docs][edot] add entry for profiles (#10163)
  edot/docs: add support for profiles (#10146)
  Add Logstash exporter (#10137)
  Add back publish to serverless. (#10159)
  Improve Integration test documentation (#10155)
  Fix multiarch service image push from main to serverless (#10129)
  Forward migrate action to endpoint (#9801)
  Comment out check for ms_tls13kdf tag for FIPS-capable binaries (#10148)
  [otel] add receivers: apache, iis, mysql, postgresql, sqlserver v0.135.0 (#9344)
  Add k8sevents receiver in kube-stack (#10086)
  feat: emit system resource metrics for EDOT subprocess (#10003)
  [AutoOps] Configure OTel Exporter to Send Maximum-sized Batches (#10126)
  keep enrollment token when replacing data with signed (#10115)
  Revert "Publish `elastic-agent-service` container directly to serverless from main (#9583)" (#10127)
  Add agent_policy_id and policy_revision_idx to checkin requests (#9931)
  remove resource/k8s processor and use k8sattributes processor for service attributes (#10108)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip bug Something isn't working skip-changelog 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.

5 participants