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] Prevent registry network errors during Fleet setup's bulk install operation from failing the installation of bundled packages #125097

Closed
Tracked by #120616 ...
joshdover opened this issue Feb 9, 2022 · 2 comments · Fixed by #125127
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team v8.1.0 v8.2.0

Comments

@joshdover
Copy link
Contributor

joshdover commented Feb 9, 2022

Content written by @kpollich in #74614, copying here:

Currently, if the EPR is inaccessible, Fleet Setup will succeed with a non-fatal error and will not install a package even if it's bundled. e.g.

image

This should be a relatively quick fix to catch this error and allow bundled install to continue. I believe this error comes from Fleet attempting to query the Registry for the latest version here:

const packagesResults = await Promise.allSettled(
packagesToInstall.map((pkg) => {
if (typeof pkg === 'string') return Registry.fetchFindLatestPackage(pkg);
return Promise.resolve(pkg);
})
);

@joshdover joshdover changed the title Prevent registry network errors during Fleet setup's bulk install operation from failing the installation of bundled packages [Fleet] Prevent registry network errors during Fleet setup's bulk install operation from failing the installation of bundled packages Feb 9, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 9, 2022
@joshdover joshdover added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team v8.1.0 labels Feb 9, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:EPM)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 9, 2022
@joshdover joshdover added the bug Fixes for quality problems that affect the customer experience label Feb 9, 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 Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team v8.1.0 v8.2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants