-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Logs onboarding] elastic-agent version -SNAPSHOT is not found #165657
Closed
3 tasks done
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Logs Onboarding
Logs Onboarding feature
Team:obs-ux-logs
Observability Logs User Experience Team
Comments
Pinging @elastic/apm-ui (Team:APM) |
Should be fixed by #166150 |
yngrdyn
added a commit
that referenced
this issue
Sep 21, 2023
…166811) Relates to #165657. In #166150 a method that returns the latest available version was introduced in fleet. We would like to use this method as a consumers of fleet plugin ([observability_onboarding](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_onboarding)). Additionally we would like to decide from outside fleet wether we want to include currentVersion or not, this is specially useful for us since we download the elastic agent executable from https://artifacts.elastic.co/downloads/beats/elastic-agent/ where snapshots are not available.
gergoabraham
pushed a commit
to gergoabraham/kibana
that referenced
this issue
Sep 21, 2023
…lastic#166811) Relates to elastic#165657. In elastic#166150 a method that returns the latest available version was introduced in fleet. We would like to use this method as a consumers of fleet plugin ([observability_onboarding](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_onboarding)). Additionally we would like to decide from outside fleet wether we want to include currentVersion or not, this is specially useful for us since we download the elastic agent executable from https://artifacts.elastic.co/downloads/beats/elastic-agent/ where snapshots are not available.
yngrdyn
added a commit
that referenced
this issue
Sep 22, 2023
Closes #165657. In #166811 we exposed the value of latest agent version available, with this PR we are aiming to use that value as the `elastic-agent` version used in the installation script of onboarding flow. ### How to test 1. Enter [System logs onboarding](https://yngrdyn-deploy-kiban-pr166920.kb.us-west2.gcp.elastic-cloud.com/app/observabilityOnboarding/systemLogs) 2. Verify the elastic agent version in the installation script <img width="870" alt="image" src="https://github.com/elastic/kibana/assets/1313018/c2d99244-6e5a-4d2e-a3fd-eea6041636d2"> 3. Go to the [console](https://yngrdyn-deploy-kiban-pr166920.kb.us-west2.gcp.elastic-cloud.com/app/dev_tools#/console) 4. Execute `GET /` 5. Verify Kibana version As you can see the kibana version is an snapshot but the elastic agent version proposed is the latest one released `8.10.1` allowing us to construct a valid download url like https://artifacts.elastic.co/downloads/beats/elastic-agent/8.10.1-linux-x86_64.tar.gz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Logs Onboarding
Logs Onboarding feature
Team:obs-ux-logs
Observability Logs User Experience Team
Since installation script is trying to download
elastic-agent
with the stack version we sometimes fall in a non desired scenario where the download link return a 404, this problem specially affects serverless deployment in testing phase where most of the users will be blocked.Solution
Fleet is fetching, on build time, the list of available versions. Expose a service from fleet that list all the versions, consider implementing the fix not only for serverless.
Tasks
The text was updated successfully, but these errors were encountered: