Skip to content

[Upgrade Assistant] Fix ml upgrade status check#121646

Merged
sabarasaba merged 6 commits intoelastic:7.17from
sabarasaba:ua/fix_ml_upgrade_status_check_@
Dec 22, 2021
Merged

[Upgrade Assistant] Fix ml upgrade status check#121646
sabarasaba merged 6 commits intoelastic:7.17from
sabarasaba:ua/fix_ml_upgrade_status_check_@

Conversation

@sabarasaba
Copy link
Member

Fixes #121313

Summary

This PR uses a newly implemented api from ES (elastic/elasticsearch#81641) in order to have a more accurate representation of the model snapshot upgrade. Nothing should be noticeable different from before, except that we now pull the status from a different api endpoint.

How to test

  1. Start elasticsearch with yarn es snapshot --license=trial -E path.data=./data-6.8.20 and kibana with yarn start. You can use this snapshot data-6.8.20.zip I created that contains a ML deprecation that requires upgrading.
  2. Navigate to Stack Management -> Upgrade Assistant -> ES deprecations
  3. Verify that upgrading the ML deprecation in the table follows the usual flow.

Note: when this PR is merged, I'll create a new one for getting this change into main and 8.x

@sabarasaba sabarasaba added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes Feature:Upgrade Assistant backport:skip This PR does not require backporting labels Dec 20, 2021
@sabarasaba sabarasaba self-assigned this Dec 20, 2021
@sabarasaba sabarasaba requested a review from yuliacech December 20, 2021 14:53
@sabarasaba sabarasaba marked this pull request as ready for review December 20, 2021 14:53
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @sabarasaba

Copy link
Contributor

@yuliacech yuliacech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this, @sabarasaba!
I tested locally and all looks good, code changes LGTM too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:Upgrade Assistant release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants