-
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
Support 'enterprise' license type #48510
Comments
Pinging @elastic/es-security (:Security/License) |
@tvernum could you please take a look and add relevant technical details if needed? Thanks! |
@bytebilly There a thing we need to make sure is Beats has a static list of supported license type and because of that if you add a new license type beats will report an error with an unknown type. So any older beats will not be able to send data to the cluster. To get around that we should adjust the returned response either by:
Checking the client version is propably the cleanest way / less hacky? Note: I believe its the same behavior in logstash @jsvd can confirm this. |
Thanks for the feedback @ph. We are still discussing how to handle old versions and backward compatibility. One additional option could be to start sending the new What do you think about that? |
@bytebilly Adding support in 8.0, 7.7, 7.6 is just adding a new constant in beats.
I don't really like this scenario and I believe we need to have a backward compatibility solution for that, even if we recommend version to match in our stack users are still running older versions and taking their times to upgrade. I think its better if we can land the backward compatibility at the same time. Also, considering that features in beats x-pack only require a basic license for the moment, so making a change that could potentially break users' installation seems a bit too much. @clintongormley @urso what do you think? |
@bytebilly we have the PR open on our side for only adding the type elastic/beats#14249 We can merge it to 7.5 and up. |
We merge the new type in 7.5, elastic/beats#14282 so we are ready on our side for any changes. |
@tvernum I updated the first comment to reflect the new approach that we agreed on (having an independent Stack license). I also added a few open questions that still need to be defined. |
@tvernum I was finally able to get agreement around having the In addition to what is already implemented by previous PR, I think we would need to change the following when dealing with an enterprise license:
This will provide a fully backward compatible license by default in 7.x, and the new license in 8.0 or in 7.x with the What do you think? |
@tvernum I noted that in Elasticsearch logs
This happens in both Otherwise we could decouple in a separate issue and address it independently, with a different timeline. What do you think? |
Yes, that is because (from #49223)
Elasticsearch supports a large number of "types", including historical license types that are no longer issued. Internally these are mapped to a set of operating modes that control the behaviour of the license. It will be resolved at such a time as we split enterprise into a separate operating mode. |
I raised #51081 to update the OperationMode, so I believe this issue can now be closed. |
You can still read through the full list of comments to get a better understanding of the topic history
Parent issue: https://github.com/elastic/dev/issues/1278
Description
We want to introduce support for a new enterprise license type in Elasticsearch.
This is not related to the enterprise license used by ECE.
The goal of this issue is to make Elasticsearch support the new license format in the same way of other existing licenses (like platinum or gold), and accept it via the Update license API.
Once this new license type is working, we can start shipping new features (like Endpoint security) in this new tier. Its features will be a superset of what is available in platinum.
Proposal
This is the new format for the Stack enterprise license.
Nothing will change for other Stack licenses, like platinum or gold.
type
field gets a new value,enterprise
max_resource_units
is introduced, with a numeric valuemax_nodes
field that is present in other Stack licenses is not part of this license typesignature
field covers themax_resource_units
valueIn 7.x, the Get license API will return a backward compatible platinum license even if an enterprise license is installed, unless
accept_enterprise=true
is passed to the request. This option will change the behavior and the API will return the enterprise license instead.In 8.0, the Get license API will return the enterprise license by default, and the
accept_enterprise
option will be deprecated.The text was updated successfully, but these errors were encountered: