Skip to content

233750 msi commands#236994

Merged
criamico merged 3 commits intoelastic:mainfrom
criamico:233750_msi_commands
Oct 1, 2025
Merged

233750 msi commands#236994
criamico merged 3 commits intoelastic:mainfrom
criamico:233750_msi_commands

Conversation

@criamico
Copy link
Contributor

@criamico criamico commented Sep 30, 2025

Fixes #233750

Summary

Fix msi commands by including version number in agent executable

Fleet server enrollment instructions:
Screenshot 2025-09-30 at 17 14 23

Agent enrollment instructions:
Screenshot 2025-09-30 at 17 32 40

Checklist

@criamico criamico self-assigned this Sep 30, 2025
@criamico criamico added Team:Fleet Team label for Observability Data Collection Fleet team release_note:fix v9.3.0 backport:version Backport to applied version labels v9.2.0 v9.1.0 labels Sep 30, 2025
@criamico criamico marked this pull request as ready for review September 30, 2025 15:49
@criamico criamico requested a review from a team as a code owner September 30, 2025 15:49
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #4 / EQL Tab rendering pagination should load notes for current page only
  • [job] [logs] Fleet Cypress Tests #2 / View agents list Agent status filter should filter on healthy and unhealthy
  • [job] [logs] Fleet Cypress Tests #2 / View agents list Bulk actions should allow to bulk upgrade agents and cancel that upgrade

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 2.1MB 2.1MB +60.0B

cc @criamico

Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

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

Code LGTM, were you able to test with a Windows VM?

@criamico
Copy link
Contributor Author

criamico commented Oct 1, 2025

were you able to test with a Windows VM?

@juliaElastic No I didn't, but I think that the issue was simply that the executable name was missing the version. Now it's present everywhere and it's the same as in the previous command:


        "$ProgressPreference = 'SilentlyContinue'
        Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-9.0.0-windows-x86_64.msi -OutFile elastic-agent-9.0.0-windows-x86_64.msi
        .\\\\elastic-agent-9.0.0-windows-x86_64.msi --% INSTALLARGS=\\"\`
          --fleet-server-es=http://elasticsearch:9200 \`
          --fleet-server-service-token=service-token-1 \`
          --fleet-server-port=8220 \`
@criamico criamico merged commit 54da50b into elastic:main Oct 1, 2025
13 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1, 9.3

https://github.com/elastic/kibana/actions/runs/18156328656

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 1, 2025
Fixes elastic#233750

## Summary

Fix msi commands by including version number in agent executable

Fleet server enrollment instructions:
<img width="775" height="604" alt="Screenshot 2025-09-30 at 17 14 23"
src="https://github.com/user-attachments/assets/504c785b-0599-4cf1-8117-a26d3d8fb83d"
/>

Agent enrollment instructions:
<img width="764" height="475" alt="Screenshot 2025-09-30 at 17 32 40"
src="https://github.com/user-attachments/assets/e2d18f30-0ad9-48e5-a7db-e2a0831a7fda"
/>

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 54da50b)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
9.1
9.3 The branch "9.3" does not exist

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 236994

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 1, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [233750 msi commands
(#236994)](#236994)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-01T08:32:25Z","message":"233750
msi commands (#236994)\n\nFixes
https://github.com/elastic/kibana/issues/233750\n\n## Summary\n\nFix msi
commands by including version number in agent executable\n\nFleet server
enrollment instructions:\n<img width=\"775\" height=\"604\"
alt=\"Screenshot 2025-09-30 at 17 14
23\"\nsrc=\"https://github.com/user-attachments/assets/504c785b-0599-4cf1-8117-a26d3d8fb83d\"\n/>\n\nAgent
enrollment instructions:\n<img width=\"764\" height=\"475\"
alt=\"Screenshot 2025-09-30 at 17 32
40\"\nsrc=\"https://github.com/user-attachments/assets/e2d18f30-0ad9-48e5-a7db-e2a0831a7fda\"\n/>\n\n\n###
Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"54da50b1c6ccb42468b52772ad1c163e346cbac4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:version","v9.1.0","v9.2.0","v9.3.0"],"title":"233750
msi
commands","number":236994,"url":"https://github.com/elastic/kibana/pull/236994","mergeCommit":{"message":"233750
msi commands (#236994)\n\nFixes
https://github.com/elastic/kibana/issues/233750\n\n## Summary\n\nFix msi
commands by including version number in agent executable\n\nFleet server
enrollment instructions:\n<img width=\"775\" height=\"604\"
alt=\"Screenshot 2025-09-30 at 17 14
23\"\nsrc=\"https://github.com/user-attachments/assets/504c785b-0599-4cf1-8117-a26d3d8fb83d\"\n/>\n\nAgent
enrollment instructions:\n<img width=\"764\" height=\"475\"
alt=\"Screenshot 2025-09-30 at 17 32
40\"\nsrc=\"https://github.com/user-attachments/assets/e2d18f30-0ad9-48e5-a7db-e2a0831a7fda\"\n/>\n\n\n###
Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"54da50b1c6ccb42468b52772ad1c163e346cbac4"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","9.3"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236994","number":236994,"mergeCommit":{"message":"233750
msi commands (#236994)\n\nFixes
https://github.com/elastic/kibana/issues/233750\n\n## Summary\n\nFix msi
commands by including version number in agent executable\n\nFleet server
enrollment instructions:\n<img width=\"775\" height=\"604\"
alt=\"Screenshot 2025-09-30 at 17 14
23\"\nsrc=\"https://github.com/user-attachments/assets/504c785b-0599-4cf1-8117-a26d3d8fb83d\"\n/>\n\nAgent
enrollment instructions:\n<img width=\"764\" height=\"475\"
alt=\"Screenshot 2025-09-30 at 17 32
40\"\nsrc=\"https://github.com/user-attachments/assets/e2d18f30-0ad9-48e5-a7db-e2a0831a7fda\"\n/>\n\n\n###
Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"54da50b1c6ccb42468b52772ad1c163e346cbac4"}},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
Fixes elastic#233750

## Summary

Fix msi commands by including version number in agent executable

Fleet server enrollment instructions:
<img width="775" height="604" alt="Screenshot 2025-09-30 at 17 14 23"
src="https://github.com/user-attachments/assets/504c785b-0599-4cf1-8117-a26d3d8fb83d"
/>

Agent enrollment instructions:
<img width="764" height="475" alt="Screenshot 2025-09-30 at 17 32 40"
src="https://github.com/user-attachments/assets/e2d18f30-0ad9-48e5-a7db-e2a0831a7fda"
/>


### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:fix Team:Fleet Team label for Observability Data Collection Fleet team v9.1.0 v9.1.5 v9.2.0 v9.3.0

4 participants