-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Misleading license log messages with a fresh Basic installation #95032
Comments
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
cc to @elastic/es-ui, which own both plugins |
@elastic/kibana-core I'm moving this issue over to your area because I believe this message is being emitted by the Happy to chat about this if I'm mistaken! |
The message is coming from
kibana/x-pack/plugins/watcher/server/plugin.ts Lines 101 to 112 in 3b3327d
kibana/x-pack/plugins/cross_cluster_replication/server/services/license.ts Lines 46 to 56 in 4584a8b
Core is not responsible for what plugins decide to do with a license check result and/or message. AFAIK these two plugins are the only ones behaving that way. |
Thanks @pgayvallet! Do you know what the intention of that message from licensing is? Is it intended to be logged? If not, is it surfaced to users some other way? I'm trying to understand the UX we want users to have for plugins unsupported by the current license and how the pieces we're considering here relate to that. |
Hi @cjcenizal! We just discussed this in our weekly sync and decided that long-term we should probably remove this For now, I think it makes sense for these ES UI plugins to only log this message when a license-gated API is actually called, inside the |
@joshdover Makes sense! Thanks for clarifying and thanks for the guidance. We'll log the message inside |
Kibana version: 7.11.1
Elasticsearch version: 7.11.1
Server OS version: Ubuntu 20.04
Browser version: Chrome
Browser OS version: Latest
Original install method (e.g. download page, yum, from source, etc.): tar.gz but same for Docker images and others
Describe the bug: When starting a fresh cluster in Basic (no trial started), without configuring anything related to Watcher or CCR, Kibana's log still includes the following messages:
Especially for new users this is unexpected and confusing. We shouldn't print
Please upgrade your license
if this isn't actually necessary.Steps to reproduce: Start a fresh installation and watch the Kibana logs
Expected behavior: Don't log things that haven't been configured and are only confusing for users starting a cluster.
Screenshots (if relevant): none
Errors in browser console (if relevant): none
Provide logs and/or server output (if relevant):
Any additional context: This was confusing enough for a user to disable replicas because of the CCR message — https://twitter.com/0111010A/status/1373729476069167110
The text was updated successfully, but these errors were encountered: