Self-managed Optimize schema upgrade from 3.13.4 to 3.13.5 - helm release 10.4.0

Hello, I’m running Camunda8.5 on AWS EKS helm release 10.3.2, I started upgrade to release 10.4.0, during the update all services beside optimize are running fine because optimize opensearch schema needs to be upgraded to version 3.13.5. In order to upgrade I configured InitContainer with config:

        name: migration
        image: camunda/optimize:8.5.5
        command: ['./upgrade/upgrade.sh', '--skip-warning']

and after start I got from log:

Starting Camunda Optimize Upgrade to 3.13.5…
15:50:51.256 - Identified opensearch Database configuration
15:50:51.758 - Use standard OpenSearch since AWS not configured…
15:50:52.031 - Schema client not implemented for Opensearch
org.apache.commons.lang3.NotImplementedException: Schema client not implemented for Opensearch
at org.camunda.optimize.upgrade.db.SchemaUpgradeClientFactory.createSchemaUpgradeClient(SchemaUpgradeClientFactory.java:44)
at org.camunda.optimize.upgrade.main.UpgradeProcedureFactory.create(UpgradeProcedureFactory.java:22)
at org.camunda.optimize.upgrade.main.UpgradeMain.main(UpgradeMain.java:52)
Error from server (BadRequest): container “optimize” in pod “camunda-optimize-5c59998f86-djtv5” is waiting to start: PodInitializing

Does it means something is not enabled on 10.4.0 or any issue? Can’t find anything on that.

Did you read this before doing the chart migration:

“The migration step within Optimize is currently not supported with OpenSearch. Disable the migration as shown in the example below.”

Got that disabled but I thought it’s different than initContainers.

optimize:
  migration:
    enabled: false
  initContainers:
  - name: migration
    image: "camunda/optimize:8.5.5"
    command: ['./upgrade/upgrade.sh', '--skip-warning']

What then can be done to upgrade the schema version in Opensearch without losing data?
I did according to this example for Kubernetes.

Document is correct, but it’s mentioned it for ElasticSearch.

Are you using Free Edition or Paid edition of Camunda platform? If it’s Enterprise edition, you may raise to ticket to support team to enquire about OpenSearch.

Free Edition, for testing purposes in order to be able to decide on its production use.
Also, it doesn’t look like they care much about supporting AWS Opensearch somehow.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.