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

Kibana APM Settings Schema page returns 500 errors. #149342

Closed
lucabelluccini opened this issue Jan 23, 2023 · 1 comment · Fixed by #153159
Closed

Kibana APM Settings Schema page returns 500 errors. #149342

lucabelluccini opened this issue Jan 23, 2023 · 1 comment · Fixed by #153159
Assignees
Labels
apm:fleet apm:test-plan-8.8.0 APM UI Test Plan for v8.8.0 apm:test-plan-done Pull request that was successfully tested during the test plan bug Fixes for quality problems that affect the customer experience Team:APM All issues that need APM UI Team support

Comments

@lucabelluccini
Copy link
Contributor

Kibana version: 8.5.3

Describe the bug:

Likely to happen on ECE or ESS or on-premise when the page Kibana / Observability / APM / Settings / Schema is accessed and APM Integration is not installed.

Steps to reproduce:

  1. Create a deployment on ESS. Disable Integration Server in the creation phase.
  2. Open Kibana / Observability / APM / Settings / Schema
  3. The API /internal/apm/fleet/migration_check seems to fail with a 500 error (a toast error appears)

image

image

Expected behavior:

The page should show:
image

Any additional context:

The 500 error seems be linked to the fact the migration_check seems to try to download the apm integration instead of looking into the integrations bundled with Kibana (no need to look into EPR for APM integration, nor download it).

The workaround is to manually install the APM integration.
From Dev tools, as superuser, run:

POST kbn:/api/fleet/epm/packages/apm/<version>
{
  "force": true
}
@lucabelluccini lucabelluccini added the bug Fixes for quality problems that affect the customer experience label Jan 23, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 23, 2023
@lucabelluccini lucabelluccini added Team:APM All issues that need APM UI Team support apm:fleet and removed needs-team Issues missing a team label labels Jan 23, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

ogupte added a commit to ogupte/kibana that referenced this issue Apr 18, 2023
ogupte added a commit that referenced this issue Apr 19, 2023
Closes #149342.

It accomplishes this by returning the ArchivePackage, unzipped bundled
package that includes most of the same fields as the RegistryPackage.
These fields are used in APM to support the fleet migration workflow.
ogupte added a commit to ogupte/kibana that referenced this issue Apr 19, 2023
Closes elastic#149342.

It accomplishes this by returning the ArchivePackage, unzipped bundled
package that includes most of the same fields as the RegistryPackage.
These fields are used in APM to support the fleet migration workflow.
saarikabhasi pushed a commit to saarikabhasi/kibana that referenced this issue Apr 19, 2023
Closes elastic#149342.

It accomplishes this by returning the ArchivePackage, unzipped bundled
package that includes most of the same fields as the RegistryPackage.
These fields are used in APM to support the fleet migration workflow.
ogupte added a commit that referenced this issue Apr 19, 2023
…155281)

Backport of #153159.
(cherry picked from commit
d1dff0b)

Closes #149342.

It accomplishes this by returning the ArchivePackage, unzipped bundled
package that includes most of the same fields as the RegistryPackage.
These fields are used in APM to support the fleet migration workflow.
nikitaindik pushed a commit to nikitaindik/kibana that referenced this issue Apr 25, 2023
Closes elastic#149342.

It accomplishes this by returning the ArchivePackage, unzipped bundled
package that includes most of the same fields as the RegistryPackage.
These fields are used in APM to support the fleet migration workflow.
@gbamparop gbamparop added apm:test-plan-8.8.0 APM UI Test Plan for v8.8.0 and removed 8.7 candidate labels Apr 25, 2023
@ogupte ogupte self-assigned this May 3, 2023
@ogupte ogupte added the apm:test-plan-done Pull request that was successfully tested during the test plan label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:fleet apm:test-plan-8.8.0 APM UI Test Plan for v8.8.0 apm:test-plan-done Pull request that was successfully tested during the test plan bug Fixes for quality problems that affect the customer experience Team:APM All issues that need APM UI Team support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants