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

[Fleet] Fix latest behavior with bundled packages #126487

Closed
joshdover opened this issue Feb 28, 2022 · 3 comments · Fixed by #126492
Closed

[Fleet] Fix latest behavior with bundled packages #126487

joshdover opened this issue Feb 28, 2022 · 3 comments · Fixed by #126492
Assignees
Labels
bug Fixes for quality problems that affect the customer experience QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team v8.1.0

Comments

@joshdover
Copy link
Contributor

joshdover commented Feb 28, 2022

Kibana version: 8.1.0+

Steps to reproduce:

  1. EPM has 8.0.0
  2. Kibana has 8.1.0 bundled
  3. Kibana installs 8.0.0, not 8.1.0
  4. Testers can't test 8.1.0 installs before it's released have to upgrade manually, breaks UIs and tests

Good news, tests and testers caught something!

@joshdover: This is breaking behavior for 8.1.0 for testers and Cloud staging deployments using this latest feature in their config which is in some examples and documented, and we should fix it the right way if the effort is reasonable.

Once 8.1.0 package is released it will go away, so it may not affect production since we expect this package to be available in the registry by then. So this only ends up affecting tests right now before the release.

Related Issues:

Possible solutions:

Questions:
For any solution:

  • Is this doing this going to change the packages installed for a number of packages that would affect testing integrations for 8.1.0?

Workaround:
From #126487 (comment)
Workaround to force install a given version via the API, so long as a registry instance is accessible:

curl http://<kibana>/api/fleet/epm/packages/apm-8.1.0 \
  -u elastic:<password> \
  -XPOST \
  -H 'kbn-xsrf: true' \
  -H 'Content-Type: application/json' \
  -d'{"force": true}'

This API can be used to force install apm-8.1.0, and the Kibana UI can then be used to upgrade any related policies for testing.

The UI could also be used to install the latest version of APM from the integrations app, but the API approach is likely quicker to unblock, and could be automated.

@joshdover joshdover added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team labels Feb 28, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kpollich
Copy link
Member

Workaround to force install a given version via the API, so long as a registry instance is accessible:

POST http://<kibana>/api/fleet/epm/packages/<name>-<version>
Authorization: Basic <username>:<password>
Content-Type: application/json

{
  "force": true
}

This API can be used to force install apm-8.1.0, and the Kibana UI can then be used to upgrade any related policies for testing.

The UI could also be used to install the latest version of APM from the integrations app, but the API approach is likely quicker to unblock, and could be automated.

@ghost
Copy link

ghost commented Mar 17, 2022

Hi @joshdover,
We have revalidated this issue on the released 8.1.0 build and observed that the issue is fixed. Please find below the testing details:

  • Elastic APM integration version is updated to v8.1.0

Screen-Recording:

Home.-.Elastic.-.Google.Chrome.2022-03-17.14-45-42.mp4

Build Details:
VERSION: 8.1.0
COMMIT: 4aaeda2
BUILD: 50485

Thanks!

@amolnater-qasource amolnater-qasource added the QA:Validated Issue has been validated by QA label Mar 21, 2022
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 QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants