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

setup.dashboards.retry.enabled: true is broken #38208

Open
blakerouse opened this issue Mar 6, 2024 · 2 comments
Open

setup.dashboards.retry.enabled: true is broken #38208

blakerouse opened this issue Mar 6, 2024 · 2 comments
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@blakerouse
Copy link
Contributor

setup.dashboards.retry.enabled: true is broken and the connection to Kibana is not retried.

The issue seems to have been introduced here: https://github.com/elastic/beats/pull/10478/files#diff-7892d09d6cd53dcdb72155590e61e694ebea064f17965984cfc22286f02f3e55R700

Before the code just called: https://github.com/elastic/beats/pull/10478/files#diff-7892d09d6cd53dcdb72155590e61e694ebea064f17965984cfc22286f02f3e55L682

Inside of the dashboards.ImportDashboards it handles the retry logic but because of the change in the PR above the retry is skipped and it just exits.

For confirmed bugs, please report:

  • Version: 8.10.2
  • Operating System: All
  • Steps to Reproduce:

Add the following to the configuration.

setup.dashboards.enabled: true
setup.dashboards.retry.enabled: true
setup.dashboards.retry.maximum: 0

Run the following:

metricbeat setup -e

Exits with:

Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: fail to execute the HTTP GET request: Get \"http://localhost:5601/api/status\": dial tcp [::1]:5601: connect: connection refused (status=0). 
@blakerouse blakerouse added the Team:Elastic-Agent Label for the Agent team label Mar 6, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@jlind23 jlind23 added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Dec 2, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@jlind23 jlind23 removed the Team:Elastic-Agent Label for the Agent team label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

3 participants