Skip to content

[ML] After upgrade from 7.17 to 9.0, anomaly detection jobs annotations can't be updated. #209801

@wwang500

Description

@wwang500

Step to reproduce:

  1. Deploy a 7.17.27 cluster, just choose kibana, es and ml nodes for avoiding other known issues
  2. Create and run ml anomaly detections jobs
  3. Upgrade it to 8.18, (the upgrade path I did, is 7.17->8.16.3->8.18.0)
  4. Fix all critical deprecations issues being reported by Upgrade Assistant
  5. Upgrade to 9.0
  6. 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]

Image

Image

Also, when clearing job notification, I was seeing the similar error:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    :mlTeam:MLTeam label for ML (also use :ml) t//bugFixes for quality problems that affect the customer experiencev8.18.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions