-
Notifications
You must be signed in to change notification settings - Fork 690
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
Improve major version upgrades #390
Comments
A rolling upgrade is only possible from 6.7. because 7.0 as of beta1 (?) no longer supports minimum master nodes and only 6.7 publishes m_m_n in cluster state (see elastic/elasticsearch#37701). That means in practical terms that a 7.0 node cannot join a 6.x cluster unless that cluster is >= 6.7 |
Decided to pursue only #464 and record/express the inability to upgrade via a new status (something like precondition failed) and events (could not upgrade because ...) |
See #312 for details of PVC reuse which also applies to major version changes. |
Maybe we should not do any of the upgrade guidance mechanism mentioned above.
{
"level": "critical",
"message": "Security realm settings structure changed",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#include-realm-type-in-setting",
"details": "these settings must be updated to the new format while the node is offline during the upgrade to 7.0 (nodes impacted: [major-upgrade-es-masters-2, major-upgrade-es-data-2, major-upgrade-es-data-0, major-upgrade-es-masters-0, major-upgrade-es-masters-1, major-upgrade-es-data-1])"
} We automatically generate the correct realm settings structure for v7 (unless the user has overridden these settings of course). Returning this message to the user would incorrectly communicate a call to action. Not sure if they could be filtered out. So even if we decide not to implement calls to the deprecation API from the operator, we still need to document that certain deprecation warnings shown in the upgrade assistant and the deprecation API can be safely ignored on ECK |
Also related to the doc issue about upgrades #1814 |
We discussed this offline and consensus was that we are seeing this more as nice to have rather than as a crucial bit of functionality or even a precondition for productive use of ECK. |
Closing this for now given the last comments here, let's reopen if needed or better yet open a more focused issue if the need arises. |
#231 introduces robust support for running different versions of the Elastic stack with the k8s operator but we don't have any support yet for the subtleties of migrating from one version to another.
Ideas
Using either the Kibana upgrade assistent APIs and or deprecation API to identify issues where possible
The text was updated successfully, but these errors were encountered: