Within Kibana, I activated a 30 day trial license. To my surprise, I was "locked out" of Kibana when it expired, getting the "Kibana server is not ready yet" message. Kibana outputs the following:
[INFO ][savedobjects-service] [.kibana_analytics] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 4ms.
[ERROR][savedobjects-service] [.kibana_alerting_cases] Action failed with 'security_exception
security_exception: current license is non-compliant for [security]'. Retrying attempt 1 in 2 seconds.
It then keeps retrying and failing with these messages. Elasticsearch outputs the following (for various monitoring operations):
blocking [indices:monitor/stats] operation due to expired license. Cluster health, cluster stats and indices stats operations are blocked on license expiration. All data operations (read and write) continue to work. If you have a new license, please update it. Otherwise, please reach out to your support contact.
That's fine, but I'm just surprised to see that this causes Kibana to become unavailable. I expected Kibana to work with less features due to reverting to the Basic license. That's the impression I got from the documentation. And I'm pretty sure I have experienced that behavior myself in past versions. Not being able to access Kibana to manage the license in this situation is inconvenient.
Is this a bug? If so, I can submit a bug report on GitHub.
FYI, I used the following command to revert to the Basic license and everything then worked.
But from 8.2 this page was changed and all this information was removed and the current documentation basically does not tell what will stop working or not, only link to the subscription page, which is not helpful as the subscription page itself is really confusing now.
It would be better if the documentation stated that Kibana will not work after the license expiration.
Thank you for the clarification, I appreciate it! It wasn't a problem in my case, but I was a bit surprised to see this behavior. In terms of feedback, I think being able to manage licenses directly within Kibana—even if your current license has expired—would be the optimal solution. If that's not feasible, I think providing a more user friendly experience would be great. It's easy enough to figure out the root cause if you look at the logs, but it's not really apparent based on the "Kibana server is not ready yet" message, let alone how to resolve it.
Again, not a big deal by any means, as I mostly just wondered if this was by design.
Ah yeah, I was just hacking away on a "throwaway cluster" and it did the trick. Thanks for the heads up, though!