-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Revert to Basic license when license is deleted #45022
Comments
Pinging @elastic/es-security |
The change for removal behaviour itself is straightforward. But discussion could be needed for how we handle backwards compatibility. Existing clusters with deleted license already have a "tombstone" license that grants "MISSING" operation mode. When they upgrade, how do we handle these licenses? I can think of following options:
I personally prefer option 1 because 1) this change is more for fixing the removal behaviour; 2) there are ways for existing cluster to get a basic license; 3) the auto-upgrade does not really gain much in terms of functionality. Maybe we could let tombstone grant "BASIC" operation mode. But other than that, there does not seem to be much value. |
I favour option 1. If, as a result of this change, we reduce the number of license checks that we do on Basic features, and that means that some functionality starts to work on |
Do you want "reduce the number of license checks" as part of this change or a follow-up? |
A new basic license will be generated when existing license is deleted. In addition, deleting an existing basic license is a no-op. Resolves: #45022
A new basic license will be generated when existing license is deleted. In addition, deleting an existing basic license is a no-op. Resolves: elastic#45022
Now that the XPack distribution comes pre-configured with a free Basic license, we should probably revert to Basic if the current license is ever deleted (and just no-op if the current license is already Basic). Today, deleting the license will put the cluster into an unlicensed, non-active mode which seems strange since it the premise of the XPack distribution is that you'll always have at least Basic.
This is probably just a hold-over from when XPack was a separate plugin.
As a nice side-effect, this means all Basic+ features no longer need license status checks since it would be impossible for them to ever be running in a non-licensed environment.
The text was updated successfully, but these errors were encountered: