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

Auto-detect flow fails with tar error #193284

Closed
flash1293 opened this issue Sep 18, 2024 · 3 comments · Fixed by #194002
Closed

Auto-detect flow fails with tar error #193284

flash1293 opened this issue Sep 18, 2024 · 3 comments · Fixed by #194002
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team

Comments

@flash1293
Copy link
Contributor

Kibana version: main

Describe the bug: Auto-detect flow fails on Ubuntu 22.04

Steps to reproduce:

  1. Go to auto-detect onboarding flow
  2. Try to run on ubuntu machine (accept all recommendations)
  3. Flow fails in the terminal with "Failed to configure Elastic Agent"

Expected behavior:
Flow should succeed

Error in the terminal:

tar: unrecognized option '--include'
Try 'tar --help' or 'tar --usage' for more information.
Failed to configure Elastic Agent

It looks like the --include usage here is not always available:

tar --list --file "$elastic_agent_tmp_config_path" --include 'elastic-agent.yml' >/dev/null &&

(#191383)

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Feature: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team labels Sep 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-onboarding-team (Feature: Observability Onboarding)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@akhileshpok
Copy link

@gbamparop - Can we please prioritise this fix over new feature development? Thanks

@thomheymann thomheymann self-assigned this Sep 24, 2024
thomheymann added a commit that referenced this issue Sep 27, 2024
…194002)

Resolves [#193284](#193284)

- Fixes an issue where auto-detect would fail on GNU tar.
- Also changes the behaviour of the integration installation step to
only throw an error when all integrations fail to install.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Sep 27, 2024
…lastic#194002)

Resolves [elastic#193284](elastic#193284)

- Fixes an issue where auto-detect would fail on GNU tar.
- Also changes the behaviour of the integration installation step to
only throw an error when all integrations fail to install.

(cherry picked from commit 7d395ad)
kibanamachine added a commit that referenced this issue Sep 27, 2024
…error (#194002) (#194335)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Observability Onboarding] Fix auto-detect flow fails with tar error
(#194002)](#194002)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Thom
Heymann","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-27T17:34:42Z","message":"[Observability
Onboarding] Fix auto-detect flow fails with tar error
(#194002)\n\nResolves
[#193284](https://github.com/elastic/kibana/issues/193284)\r\n\r\n-
Fixes an issue where auto-detect would fail on GNU tar.\r\n- Also
changes the behaviour of the integration installation step to\r\nonly
throw an error when all integrations fail to
install.","sha":"7d395ad895c561bb6c826f834c0e67bf1fbc862c","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability"],"title":"[Observability
Onboarding] Fix auto-detect flow fails with tar
error","number":194002,"url":"https://github.com/elastic/kibana/pull/194002","mergeCommit":{"message":"[Observability
Onboarding] Fix auto-detect flow fails with tar error
(#194002)\n\nResolves
[#193284](https://github.com/elastic/kibana/issues/193284)\r\n\r\n-
Fixes an issue where auto-detect would fail on GNU tar.\r\n- Also
changes the behaviour of the integration installation step to\r\nonly
throw an error when all integrations fail to
install.","sha":"7d395ad895c561bb6c826f834c0e67bf1fbc862c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194002","number":194002,"mergeCommit":{"message":"[Observability
Onboarding] Fix auto-detect flow fails with tar error
(#194002)\n\nResolves
[#193284](https://github.com/elastic/kibana/issues/193284)\r\n\r\n-
Fixes an issue where auto-detect would fail on GNU tar.\r\n- Also
changes the behaviour of the integration installation step to\r\nonly
throw an error when all integrations fail to
install.","sha":"7d395ad895c561bb6c826f834c0e67bf1fbc862c"}}]}]
BACKPORT-->

Co-authored-by: Thom Heymann <[email protected]>
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: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants