Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UA] skip system indices migration status check if featureSet.migrateSystemIndices is set to false #150710

Merged
merged 4 commits into from
Feb 9, 2023

Conversation

Bamieh
Copy link
Member

@Bamieh Bamieh commented Feb 9, 2023

Summary

In the UA status route, we need to skip the ES system indices migration status check if featureSet.migrateSystemIndices
is set to false. This flag is enabled from configs for major version stack upgrades.

Ideally, ES API would work as intended for non-minor versions, but for now, we'd have to skip hitting the API from Kibana's side when we are not upgrading to a major.

Context: https://github.com/elastic/cloud/issues/112124

@Bamieh Bamieh added release_note:skip Skip the PR/issue when compiling release notes v8.6.2 v8.8.0 labels Feb 9, 2023
@Bamieh Bamieh requested a review from a team as a code owner February 9, 2023 14:01
@Bamieh Bamieh requested a review from rudolf February 9, 2023 14:03
@yuliacech yuliacech self-requested a review February 9, 2023 14:44
@rudolf rudolf added the bug Fixes for quality problems that affect the customer experience label Feb 9, 2023
Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing this!

@Bamieh Bamieh enabled auto-merge (squash) February 9, 2023 15:27
@Bamieh Bamieh merged commit d2f8639 into elastic:main Feb 9, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

cc @Bamieh

@Bamieh Bamieh deleted the status_skip_check branch February 9, 2023 16:12
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 9, 2023
…eSystemIndices` is set to `false` (elastic#150710)

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit d2f8639)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 9, 2023
…eSystemIndices` is set to `false` (elastic#150710)

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit d2f8639)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6
8.7

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 9, 2023
…migrateSystemIndices` is set to `false` (#150710) (#150736)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[UA] skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)](#150710)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ahmad
Bamieh","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-02-09T16:09:39Z","message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v8.6.2","v8.8.0"],"number":150710,"url":"https://github.com/elastic/kibana/pull/150710","mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150710","number":150710,"mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}}]}]
BACKPORT-->

Co-authored-by: Ahmad Bamieh <[email protected]>
kibanamachine added a commit that referenced this pull request Feb 10, 2023
…migrateSystemIndices` is set to `false` (#150710) (#150737)

# Backport

This will backport the following commits from `main` to `8.7`:
- [[UA] skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)](#150710)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ahmad
Bamieh","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-02-09T16:09:39Z","message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v8.6.2","v8.8.0"],"number":150710,"url":"https://github.com/elastic/kibana/pull/150710","mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150710","number":150710,"mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}}]}]
BACKPORT-->

Co-authored-by: Ahmad Bamieh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v8.6.2 v8.7.0 v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants