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 8.x monitoring detect duplicate uuids from different instances #146955

Open
wasserman opened this issue Dec 5, 2022 · 6 comments
Open
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team

Comments

@wasserman
Copy link

Describe the feature:
If multiple Kibana instances have the same uuid, this is not easy to detect. It would be helpful if the monitoring application could make the user aware of this misconfiguration.

Describe a specific use case for the feature:
I was troubleshooting an environment where Kibana monitoring was only showing one Kibana node at a time, seemingly randomly rotating between Kibana hosts. I learned that the Kibana hosts were built by setting up one node and then using some VM cloning technique to roll out the rest. Of course this is not recommended approach, but it took lots of time to dig deep enough to understand that all the nodes shared the same uuid. It would be handy if Kibana monitoring had some visual way of showing if there are multiple hosts with the same uuid during the filtered time frame, providing some visibility. Maybe a hazard symbol or a Kibana health going yellow stating this is a misconfiguration with a recommendation on how to fix it. All I did was remove the uuid file on each node and restart Kibana.

@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 5, 2022
@drewdaemon drewdaemon added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Dec 20, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 20, 2022
@pgayvallet pgayvallet added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Dec 21, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@pgayvallet pgayvallet removed the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Dec 21, 2022
@klacabane
Copy link
Contributor

Hi @wasserman, to evaluate the options we have to detect this misconfiguration, could you share the monitoring documents produced by these cloned instances if you still have them handy ?
If collecting metrics with metricbeat the agent name should be different but that's a weak option. We could maybe rely on other properties of the document that are clearly distinct though

@miltonhultgren
Copy link
Contributor

miltonhultgren commented Dec 21, 2022

This sounds very similar to an issue we recently had in SDH where due to some file cloning a bunch of Beats instanced ended up with the same UUIDs as well causing them to overlap.

@wasserman
Copy link
Author

wasserman commented Dec 21, 2022

@klacabane I didn't have access and I had the user regenerate the uuids for the Kibana instances to resolve it.

@miltonhultgren I agree. From my observation the monitoring UI includes the uuid in the url, so I can see how only one will return at a given time. This is actually why I think having some way to detect this would be useful since having the user fix and avoid cloning uuids is reasonable. My ask is just to make it obvious to the user via the monitoring UI (and possibly an associated alert).

@lukeelmers
Copy link
Member

There was an RFC awhile ago that proposed adding a mechanism for detecting incompatible configurations in Kibana deployments, which could address situations like this. But I believe it was put on hold as priorities shifted (cc @azasypkin @rudolf)

@smith smith added the bug Fixes for quality problems that affect the customer experience label Jan 4, 2023
@smith smith added Team:Monitoring Stack Monitoring team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 13, 2023
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:Stack Monitoring Team:Monitoring Stack Monitoring team
Projects
None yet
Development

No branches or pull requests

8 participants