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

Support rolling upgrades to OpenSearch 1.0 from ODFE 1.13 and ES 7.10.x #671

Closed
4 tasks done
dblock opened this issue May 7, 2021 · 16 comments
Closed
4 tasks done
Assignees
Labels
backwards-compatibility blocked Identifies issues that are blocked feedback needed Issue or PR needs feedback help wanted Extra attention is needed Meta Meta issue, not directly linked to a PR Priority-High stalled Issues that have stalled

Comments

@dblock
Copy link
Member

dblock commented May 7, 2021

Upgrading your cluster from ElasticSearch to OpenSearch and OpenSearch Dashboards is just like upgrading your cluster between versions of ElasticSearch and Kibana. Specifically, OpenSearch supports rolling upgrades and restart upgrades from ElasticSearch 6.8.0 through ElasticSearch 7.10.2 and to OpenSearch 1.0. OpenSearch Dashboards supports restart upgrades from Kibana 6.8.0 through Kibana 7.10.2 and to OpenSearch Dashboards 1.0.

We have asked the community regarding the upgrade path to OpenSearch. Please continue adding your comments.

Additional context

@dblock dblock added the enhancement Enhancement or improvement to existing feature or request label May 7, 2021
@dblock dblock self-assigned this May 7, 2021
@dblock dblock added the v1.0.0 Version 1.0.0 label May 7, 2021
@dblock dblock changed the title [PROPOSAL] Ensure OpenSearch is a drop-in replacement for ODFE and ES Ensure OpenSearch is a drop-in replacement for ODFE and ES May 7, 2021
@dblock dblock pinned this issue May 7, 2021
@dblock dblock changed the title Ensure OpenSearch is a drop-in replacement for ODFE and ES Ensure OpenSearch is a drop-in replacement for ODFE 1.13 and ES 7.10.x for v1.0.0 May 7, 2021
@saratvemulapalli
Copy link
Member

saratvemulapalli commented May 7, 2021

For OpenSearch we still have to understand what we have broken and what needs to be backwards compatible.
For example plugins we have already figure out these are the ones to take care of: opensearch-project/opensearch-plugins#12

Here is an issue we opened to track them and I am confident this just scratching the surface: #640

@saratvemulapalli
Copy link
Member

Pasting it back from the earlier issue since this is important.
These are all the items which we should consider while working on the drop in upgrades.

Ordering of upgrading
Naming conventions
Upgrade time-lag (aka downtime)
Replication
Security
Downstream Dependencies
Upgrade alerting and notifications
Limits
Performance
Availability
Latency
Compatibility Matrix
Downgrade
APIs

@nknize
Copy link
Collaborator

nknize commented May 11, 2021

Can we convert this into a meta issue and track incremental issues the community can help pick off?

@nknize nknize added the help wanted Extra attention is needed label May 11, 2021
@dblock
Copy link
Member Author

dblock commented May 11, 2021

Can we convert this into a meta issue and track incremental issues the community can help pick off?

What's a "meta" issue? How do I convert this?

@nknize
Copy link
Collaborator

nknize commented May 11, 2021

adding the list to the description like you did and then just label it as meta

@dblock dblock added Meta Meta issue, not directly linked to a PR Priority-High labels May 11, 2021
@dblock dblock changed the title Ensure OpenSearch is a drop-in replacement for ODFE 1.13 and ES 7.10.x for v1.0.0 Support rolling upgrades to OpenSearch 1.0 from ODFE 1.13 and ES 7.10.x May 21, 2021
@nknize
Copy link
Collaborator

nknize commented Jul 6, 2021

Blocked by #801 awaiting feedback.

@nknize nknize added blocked Identifies issues that are blocked feedback needed Issue or PR needs feedback stalled Issues that have stalled and removed v1.0.0 Version 1.0.0 labels Jul 6, 2021
@dblock
Copy link
Member Author

dblock commented Jul 6, 2021

#801 is resolved, however we don't have documentation for migrating from Kibana OSS to OpenSearch Dashboards, for which I opened opensearch-project/documentation-website#71

@dblock
Copy link
Member Author

dblock commented Jul 16, 2021

Closing this with opensearch-project/documentation-website#71 resolved.

@dblock dblock closed this as completed Jul 16, 2021
@dblock dblock unpinned this issue Jul 16, 2021
@shawnz
Copy link

shawnz commented Aug 24, 2021

Hi there, please also consider supporting upgrades directly from ES 7.10.x to OS 1.1. If this path is not supported it will be somewhat inconvenient for us as OS 1.0 is not available as an RPM distribution.

See also opensearch-project/OpenSearch-Dashboards#334 (comment)

@dblock
Copy link
Member Author

dblock commented Aug 26, 2021

Hi there, please also consider supporting upgrades directly from ES 7.10.x to OS 1.1. If this path is not supported it will be somewhat inconvenient for us as OS 1.0 is not available as an RPM distribution.

See also opensearch-project/OpenSearch-Dashboards#334 (comment)

AFAIK that's the plan, cc: @saratvemulapalli.

@shawnz
Copy link

shawnz commented Aug 26, 2021

Thank you for the notice. The reason why I was concerned is because I noticed this 1.0 version check in Dashboards: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/a60c4a3a2531442e085b80d25109d4cb563ea754/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.ts#L78

But I'm not sure if that is intended to be kept like this or not, or if it even affects this scenario.

@dblock
Copy link
Member Author

dblock commented Aug 26, 2021

@shawnz Kibana and hence Dashboards never supported rolling upgrades, only restart upgrades :( I had opened opensearch-project/OpenSearch-Dashboards#365 on the topic.

@dblock
Copy link
Member Author

dblock commented Aug 26, 2021

@shawnz Will you please open an issue in OpenSearch Dashboards pointing to that line, and specifically asking to "Support direct upgrades from Kibana 7.10.2"?

@shawnz
Copy link

shawnz commented Aug 26, 2021

Will do, thank you. My apologies if I am getting the terminology wrong but I don't mind having to do a whole cluster restart for now as long as the upgrade path is supported in some way or another.

@dblock
Copy link
Member Author

dblock commented Aug 26, 2021

Will do, thank you. My apologies if I am getting the terminology wrong but I don't mind having to do a whole cluster restart for now as long as the upgrade path is supported in some way or another.

No apology needed. I get confused all the time, too! Thank you.

@saratvemulapalli
Copy link
Member

Hi there, please also consider supporting upgrades directly from ES 7.10.x to OS 1.1. If this path is not supported it will be somewhat inconvenient for us as OS 1.0 is not available as an RPM distribution.
See also opensearch-project/OpenSearch-Dashboards#334 (comment)

AFAIK that's the plan, cc: @saratvemulapalli.

Yup it is. OpenSearch will support rolling upgrades from ES 7.10.x to OpenSearch 1.1.0 directly via Snapshot, Restart and Rolling Upgrades.
As @dblock said, Dashboards have limitations with rolling upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-compatibility blocked Identifies issues that are blocked feedback needed Issue or PR needs feedback help wanted Extra attention is needed Meta Meta issue, not directly linked to a PR Priority-High stalled Issues that have stalled
Projects
None yet
Development

No branches or pull requests

4 participants