Skip to content

[Obs Onboarding][Auto Detect] Fix auto detect script failing on systems with older curl versions#214552

Merged
mykolaharmash merged 2 commits intoelastic:mainfrom
mykolaharmash:212075-observability-onboarding-auto-detect-flow-fails-with-old-curl-version
Mar 17, 2025
Merged

[Obs Onboarding][Auto Detect] Fix auto detect script failing on systems with older curl versions#214552
mykolaharmash merged 2 commits intoelastic:mainfrom
mykolaharmash:212075-observability-onboarding-auto-detect-flow-fails-with-old-curl-version

Conversation

@mykolaharmash
Copy link
Contributor

@mykolaharmash mykolaharmash commented Mar 14, 2025

Closes #212075

This change replaces the --no-progress-meter curl parameter with a combination of --silent and --show-error to suppress verbose progress output. --no-progress-meter was introduced in curl v7.67.0 which is not available on some popular OSs like RHEL 8.

How to test

  1. Create an RHEL 8 instance in GCP and login via SSH
  2. Open auto detect flow on the Kibana instance deployed from this PR
  3. Go through the flow and make sure the auto detect script goes through all steps successfully

@mykolaharmash mykolaharmash requested a review from a team as a code owner March 14, 2025 11:21
@mykolaharmash mykolaharmash added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:version Backport to applied version labels v8.18.0 v8.17.4 Feature: Observability Onboarding ci:project-deploy-observability Create an Observability project labels Mar 14, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 17, 2025

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: af9fb87
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-214552-af9fb87d62e2

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #68 / InfraOps App Metrics UI Infrastructure Source Configuration with metrics present renders the waffle map

Metrics [docs]

✅ unchanged

History

Copy link
Contributor

@yngrdyn yngrdyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mykolaharmash mykolaharmash merged commit fabb1c9 into elastic:main Mar 17, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.17, 8.18, 9.0

https://github.com/elastic/kibana/actions/runs/13901971021

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 17, 2025
…ms with older curl versions (elastic#214552)

Closes elastic#212075

This change replaces the `--no-progress-meter` curl parameter with a
combination of `--silent` and `--show-error` to suppress verbose
progress output. `--no-progress-meter` was introduced in curl `v7.67.0`
which is not available on some popular OSs like RHEL 8.

## How to test

1. Create an RHEL 8 instance in GCP and login via SSH
2. Open auto detect flow on the Kibana instance deployed from this PR
3. Go through the flow and make sure the auto detect script goes through
all steps successfully

(cherry picked from commit fabb1c9)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 17, 2025
…ms with older curl versions (elastic#214552)

Closes elastic#212075

This change replaces the `--no-progress-meter` curl parameter with a
combination of `--silent` and `--show-error` to suppress verbose
progress output. `--no-progress-meter` was introduced in curl `v7.67.0`
which is not available on some popular OSs like RHEL 8.

## How to test

1. Create an RHEL 8 instance in GCP and login via SSH
2. Open auto detect flow on the Kibana instance deployed from this PR
3. Go through the flow and make sure the auto detect script goes through
all steps successfully

(cherry picked from commit fabb1c9)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.17 Backport failed because of merge conflicts
8.18
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 214552

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 17, 2025
… systems with older curl versions (#214552) (#214790)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Obs Onboarding][Auto Detect] Fix auto detect script failing on
systems with older curl versions
(#214552)](#214552)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-03-17T14:27:33Z","message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-observability","Feature:
Observability
Onboarding","backport:version","v8.18.0","v9.1.0","v8.17.4"],"title":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl
versions","number":214552,"url":"https://github.com/elastic/kibana/pull/214552","mergeCommit":{"message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.17"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214552","number":214552,"mergeCommit":{"message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289"}},{"branch":"8.17","label":"v8.17.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
kibanamachine added a commit that referenced this pull request Mar 17, 2025
…n systems with older curl versions (#214552) (#214789)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs Onboarding][Auto Detect] Fix auto detect script failing on
systems with older curl versions
(#214552)](#214552)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-03-17T14:27:33Z","message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-observability","Feature:
Observability
Onboarding","backport:version","v8.18.0","v9.1.0","v8.17.4"],"title":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl
versions","number":214552,"url":"https://github.com/elastic/kibana/pull/214552","mergeCommit":{"message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.17"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214552","number":214552,"mergeCommit":{"message":"[Obs
Onboarding][Auto Detect] Fix auto detect script failing on systems with
older curl versions (#214552)\n\nCloses
https://github.com/elastic/kibana/issues/212075\n\nThis change replaces
the `--no-progress-meter` curl parameter with a\ncombination of
`--silent` and `--show-error` to suppress verbose\nprogress output.
`--no-progress-meter` was introduced in curl `v7.67.0`\nwhich is not
available on some popular OSs like RHEL 8.\n\n## How to test\n\n1.
Create an RHEL 8 instance in GCP and login via SSH\n2. Open auto detect
flow on the Kibana instance deployed from this PR\n3. Go through the
flow and make sure the auto detect script goes through\nall steps
successfully","sha":"fabb1c9ffdb0870626d3031d454ae6229d1bb289"}},{"branch":"8.17","label":"v8.17.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
clintandrewhall pushed a commit to clintandrewhall/kibana that referenced this pull request Mar 20, 2025
…ms with older curl versions (elastic#214552)

Closes elastic#212075

This change replaces the `--no-progress-meter` curl parameter with a
combination of `--silent` and `--show-error` to suppress verbose
progress output. `--no-progress-meter` was introduced in curl `v7.67.0`
which is not available on some popular OSs like RHEL 8.

## How to test

1. Create an RHEL 8 instance in GCP and login via SSH
2. Open auto detect flow on the Kibana instance deployed from this PR
3. Go through the flow and make sure the auto detect script goes through
all steps successfully
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
…ms with older curl versions (elastic#214552)

Closes elastic#212075

This change replaces the `--no-progress-meter` curl parameter with a
combination of `--silent` and `--show-error` to suppress verbose
progress output. `--no-progress-meter` was introduced in curl `v7.67.0`
which is not available on some popular OSs like RHEL 8.

## How to test

1. Create an RHEL 8 instance in GCP and login via SSH
2. Open auto detect flow on the Kibana instance deployed from this PR
3. Go through the flow and make sure the auto detect script goes through
all steps successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels ci:project-deploy-observability Create an Observability project Feature: Observability Onboarding release_note:skip Skip the PR/issue when compiling release notes v8.17.4 v8.18.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Observability Onboarding] Auto-detect flow fails with old curl version

4 participants