Area: Deployment
Sub-Area: Upgrades
Applies to: Cloud
Issue
An upgrade of DataHub Cloud from v0.3.11.1 to v0.3.12 fails during Elasticsearch or OpenSearch reindexing on a cluster that has zone requirements.
The Helm steps below apply only to on-prem (customer-run) DataHub Cloud deployments. If you can't set Helm values for your instance, contact DataHub Support about upgrade problems.
You Might Be Asking
- What are the prerequisites for upgrading to v0.3.12?
- Why is my upgrade failing on reindexing?
- Which Helm chart version and Remote Executor version do I need?
Cause
The reindex optimization setting is on the system update job as ELASTICSEARCH_BUILD_INDICES_REINDEX_OPTIMIZATION_ENABLED. The server's own configuration comment says to disable it when Multi-AZ zone replication is set to required. Disabling it stops the index from being set to zero replicas during reindexing.
The fix for clusters with zone requirements shipped in v0.3.12.4, which requires Helm chart 1.5.60. v0.3.12.4 also added system update job configuration for OpenSearch clusters with zone awareness. The fix is not listed in the v0.3.12.1 release notes.
Solution
The v0.3.12 release notes list Breaking Changes as "None."
-
Upgrade to v0.3.12.4 or later. The release notes list the on-prem Helm chart version separately from the app version. For v0.3.12 the on-prem Helm version is 1.5.60.
-
If your cluster has zone requirements, set this Helm value to
false:global.elasticsearch.index.upgrade.reindexOptimizationEnabled: falseThe value is passed to the system update job as
ELASTICSEARCH_BUILD_INDICES_REINDEX_OPTIMIZATION_ENABLED. -
Check your Remote Executor version. Remote Executor v0.3.12.4-acryl is recommended and v0.3.11.1-acryl is the minimum. Executors older than v0.3.11.1-acryl will not work with this release.
-
The recommended CLI/SDK version for v0.3.12 is 1.1.0.2.
For chart versions, see the v0.3.12 release notes. For the Helm upgrade flow, see Kubernetes Deployment. helm upgrade runs the blocking system-update Job as a pre-upgrade hook and a non-blocking one as a post-upgrade hook. If you apply helm template output with kubectl, Kustomize or Spinnaker, those hooks do not run.