-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
elastic/elasticsearch
#121897Labels
:mlTeam:MLTeam label for ML (also use :ml) t//Team label for ML (also use :ml) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev8.18.0
Description
Step to reproduce:
- Deploy a 7.17.27 cluster, just choose kibana, es and ml nodes for avoiding other known issues
- Create and run ml anomaly detections jobs
- Upgrade it to 8.18, (the upgrade path I did, is 7.17->8.16.3->8.18.0)
- Fix all critical deprecations issues being reported by Upgrade Assistant
- Upgrade to 9.0
- After upgrade, try create and update pre-upgrade annotations
Observed:
Error:
[security_exception
Root causes:
security_exception: action [indices:data/write/bulk[s]] is unauthorized for user [found-internal-kibana4-server] with effective roles [found-internal-kibana4-server,kibana_system] on indices [.reindexed-v8-ml-annotations-000001], this action is granted by the index privileges [create_doc,create,delete,index,write,all]]: action [indices:data/write/bulk[s]] is unauthorized for user [found-internal-kibana4-server] with effective roles [found-internal-kibana4-server,kibana_system] on indices [.reindexed-v8-ml-annotations-000001], this action is granted by the index privileges [create_doc,create,delete,index,write,all]
Also, when clearing job notification, I was seeing the similar error:
Metadata
Metadata
Assignees
Labels
:mlTeam:MLTeam label for ML (also use :ml) t//Team label for ML (also use :ml) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev8.18.0


