-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
There have been several cases in the last few days of the x-pack/qa/smoke-test-ml-with-security suite failing on Windows due to auth failures for users who ought to have permissions to call the endpoints they're calling.
An example from master is https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-windows-compatibility/1675/console
action [cluster:monitor/xpack/ml/job/results/overall_buckets/get] is unauthorized for user [ml_admin]
An example from 6.x is https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+multijob-windows-compatibility/1099/console
action [cluster:monitor/main] is unauthorized for user [ml_user]
I suspect this is a side effect of a security change, as no changes have recently been made to the ML permissions. The Windows builds have been repeatedly failing for around 2 weeks due to various problems, so the security change could be up to 2 weeks old. But its effects on ML would have been masked by failures earlier in the build.