-
Notifications
You must be signed in to change notification settings - Fork 148
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
upgrade using uri from fleet api isn't working #2074
Comments
Pinging @elastic/fleet (Team:Fleet) |
In 8.6 we added a new binary to the Elastic agent package called the This only affects upgrades from pre-8.6 versions to 8.6 snapshot versions, which is a different code path in the agent from upgrading to official releases. The work around would be do a non-snapshot upgrade first, either by waiting for the soon to be available official 8.6 release or trying to upgrade to one of the 8.6 build candidates (may have the same problem I haven't tested it recently). |
I moved to 8.6.0 and I can upgrade to 8.7.0 but I can't get seem to get the URI to be used so I can upgrade to an arbitrary snapshot. |
Do you have agent-diagnostics or logs from the failure we could look at for the snapshot failures? |
We are working on updating OGC to do regular real agent testing we can revisit this issue and get debug info as part of testing that. |
I can't seem to do an upgrade in Fleet using the Fleet API when I want to specify the URI. Moreover if this is not supported the logs don't indicate that adequately.
8.7 SNAPSHOT, linux VM running elastic-agent 8.5.3
Here is the link for the API:
https://petstore.swagger.io/?url=https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/fleet/common/openapi/bundled.json#/default/bulk-upgrade-agents
This is what I am doing ...
I have tried using 8.6 as the version and leaving it empty, setting the URI never seems to result in a log that says it will try that URI. I have turned on debug logs in elastic-agent. I have tried different flavors of URI. I have verified that I can wget the file I want from the URI.
https://snapshots.elastic.co/8.6.0-08909b84/downloads/beats/elastic-agent/elastic-agent-8.6.0-SNAPSHOT-linux-x86_64.tar.gz
The text was updated successfully, but these errors were encountered: