elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.24k forks source link

[ML] Add remote cluster license check to `Validate Job` #29328

Open LucaWintergerst opened 5 years ago

LucaWintergerst commented 5 years ago

When creating an ML job, the Validate function allows to run a set of pre-flight checks to ensure that a job will work as expected. However, this check does not verify that a remote cluster has a sufficient License

The ML team thinks that some additional work on the ES side will be required to expose this to kibana. See https://github.com/elastic/elasticsearch/issues/37858

Steps to reproduce:

launch 1 node, cluster_a with platinum/trial license launch 1 node, cluster_b with a basic license add CCS settings to cluster_a add ccs index pattern to cluster_a create advanced job using ccs pattern, click on validate -> all green attempt to start the job -> it won't run

elasticmachine commented 5 years ago

Pinging @elastic/ml-ui

davidkyle commented 5 years ago

A good first step that wouldn’t require lots of additional work would be to warn and document the licence requirements if CCS is used. At least then user won’t be so surprise when the job fails.