-
Notifications
You must be signed in to change notification settings - Fork 916
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 restart upgrades to OpenSearch Dashboards 1.0 from Kibana v7.10.x #334
Comments
@seanneumann which versions do we want to be drop-in replacement for? |
Primary focus is to support Kibana 7.10.2 to OpenSearch Dashboard 1.0.0. |
We were using #231 but will use this issue instead. On 14th Jan 2021, Elastic announced license change for Elastic and Kibana going forward no longer making them open-sourced LINK. Amazon forked ElasticSearch and Kibana and launched fork publicly LINK. As we prepare to make a General Availability release for the OSS distribution, Kibana 7.10.2 will need to migrate to OpenSearch Dashboards 1.0.0. While renaming we broke stuff that would not allow OpenSearch-Dashboards to be a simple drop-in replacement for Kibana. Issues (not finalized):
|
There are a couple solutions that we are thinking about the most important tenant being "drop-in", the consideration on keeping |
Kibana did not support rolling upgrades, OpenSearch Dashboards will not for this release either. |
To summarize, keep settings breaking (kibana.yml --> opensearch_dashboards.yml). We could provide a tool for updating or provide documentation. For breaking changes will restore the default index and restore data fields (not aliasing, aliasing has pitfalls). This shouldn't really trigger a migration and will hit the tenant of allowing customers to rollback from OpenSearch Dashboards to Kibana. However, this isn't really fully forward compatible with future expectations (whatever that will be perhaps 0 reference to kibana), so there will require more work on that end. But once we go from Kibana to OpenSearch Dashboards 1.0 then OpenSearch Dashboards 1.0 to vNext, we are not blocked by the tenant of allowing rolling back form OpenSearch Dashboards to Kibana. This was discussed to be the safest option and relatively reduce time to meet announced timelines. Another CON will be customers could use dev tools and see these values, but this is not a violation of license since it is functionality issue (or MAGIC WORDS). If it is a magic word then it is allowed even if it might show up on the screen. However, we need to see if we can replace URL with 302 or restore back to kibana for example: localhost:5603/qmg/app/management/kibana/* → localhost:5603/qmg/app/management/opensearch-dashboards/*. |
I opened a feature request #365 to support rolling upgrades in the future. |
Where are we providing documentation for this? |
OpenSearch Dashboards supports restart upgrades from Kibana 6.8.0 through Kibana 7.10.2 and to OpenSearch Dashboards 1.0. Noting that the semantic version of the application went from high to low. The application would check if the config saved had a version less than or equal to the current version. If not then it would skip migrating the settings to the current version. This updates enables to migrate settings from Kibana 6.8.0 through 7.10.2 if and only if the current version of OpenSearch Dashboards is 1.0.0. Issues partially resolved: #334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Issues resolved: opensearch-project#440 Partially resolves: opensearch-project#334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Issues resolved: opensearch-project#440 Partially resolves: opensearch-project#334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Added unit tests to test on the server configs. Issues resolved: opensearch-project#440 Partially resolves: opensearch-project#334 Signed-off-by: Kawika Avilla <[email protected]>
Restoring the visTypeVega.config from openSearchDashboards to kibana and then updated the tests. This is allowable because this is for functional purposes and for clusters/plugins that will migrate to Dashboards. Their index will not require re-indexing for 1.0.0 and won't require migration after further updates. Primarily, from what I can tell, impacted saved maps. Issues partially resolved: #334 Signed-off-by: Kawika Avilla <[email protected]>
OpenSearch Dashboards supports restart upgrades from Kibana 6.8.0 through Kibana 7.10.2 and to OpenSearch Dashboards 1.0. Noting that the semantic version of the application went from high to low. The application would check if the config saved had a version less than or equal to the current version. If not then it would skip migrating the settings to the current version. This updates enables to migrate settings from Kibana 6.8.0 through 7.10.2 if and only if the current version of OpenSearch Dashboards is 1.0.0. Issues partially resolved: #334 Signed-off-by: Kawika Avilla <[email protected]>
Restoring the visTypeVega.config from openSearchDashboards to kibana and then updated the tests. This is allowable because this is for functional purposes and for clusters/plugins that will migrate to Dashboards. Their index will not require re-indexing for 1.0.0 and won't require migration after further updates. Primarily, from what I can tell, impacted saved maps. Issues partially resolved: #334 Signed-off-by: Kawika Avilla <[email protected]>
OpenSearch Dashboards supports restart upgrades from Kibana 6.8.0 through Kibana 7.10.2 and to OpenSearch Dashboards 1.0. Noting that the semantic version of the application went from high to low. The application would check if the config saved had a version less than or equal to the current version. If not then it would skip migrating the settings to the current version. This updates enables to migrate settings from Kibana 6.8.0 through 7.10.2 if and only if the current version of OpenSearch Dashboards is 1.0.0. Issues partially resolved: #334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Added unit tests to test on the server configs. Issues resolved: #440 Partially resolves: #334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Added unit tests to test on the server configs. Issues resolved: #440 Partially resolves: #334 Signed-off-by: Kawika Avilla <[email protected]>
While renaming after the fork, configurations were renamed and replaced with keywords related to OpenSearch. This meant that anyone who migrated to OpenSearch Dashboards who had configured their YAML file no longer were able to carry over those changes and run the application. This prevented the application from starting due to unknown config keys. Although, this still does not allow the application to work out of the box because people will need to make sure then rename their kibana.yml to opensearch_dashboards.yml, but once they do they do not need to modify the content of the config. Added unit tests to test on the server configs. Issues resolved: #440 Partially resolves: #334 Signed-off-by: Kawika Avilla <[email protected]>
Will close this issue for tracking purposes, but will open if any issues related to GA prop up. |
Will it be supported to upgrade from Kibana 7.10.x to ODS 1.1? If not that would be somewhat difficult for us since 1.0 doesn't have an RPM distribution. |
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.
The text was updated successfully, but these errors were encountered: