Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5104

Update from Optimize 3.4.0 to 3.5.0 fails on updating dynamic index settings

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.5.0-alpha1, 3.5.0
    • 3.5.0
    • backend
    • None
    • Not defined

      Event Process instances indices are confused with camunda process instance indices when retrieving and updating dynamic index mappings:

      12:54:42.036 [main] ERROR o.c.o.upgrade.main.UpgradeMain - Upgrade failed.
      org.camunda.optimize.upgrade.exception.UpgradeRuntimeException: Upgrade failed.
      	at org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:58)
      	at org.camunda.optimize.upgrade.main.UpgradeMain.main(UpgradeMain.java:68)
      Caused by: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=index_not_found_exception, reason=no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]]
      	at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:187)
      	at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1907)
      	at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1884)
      	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1641)
      	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
      	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
      	at org.elasticsearch.client.IndicesClient.putSettings(IndicesClient.java:1345)
      	at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateIndexDynamicSettingsAndMappings(ElasticSearchSchemaManager.java:403)
      	at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateDynamicSettingsAndMappings(ElasticSearchSchemaManager.java:381)
      	at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateAllMappingsAndDynamicSettings(ElasticSearchSchemaManager.java:347)
      	at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.initializeSchema(ElasticSearchSchemaManager.java:113)
      	at org.camunda.optimize.upgrade.es.SchemaUpgradeClient.initializeSchema(SchemaUpgradeClient.java:226)
      	at org.camunda.optimize.upgrade.main.UpgradeProcedure.executeUpgradePlan(UpgradeProcedure.java:109)
      	at org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:53)
      	... 1 common frames omitted
      	Suppressed: org.elasticsearch.client.ResponseException: method [PUT], host [http://localhost:9200], URI [/optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6/_settings?master_timeout=30s&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false&ignore_throttled=false&timeout=30s], status line [HTTP/1.1 404 Not Found]
      {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]","resource.type":"index_or_alias","resource.id":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6","index_uuid":"_na_","index":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6"}],"type":"index_not_found_exception","reason":"no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]","resource.type":"index_or_alias","resource.id":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6","index_uuid":"_na_","index":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6"},"status":404}
      		at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:318)
      		at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288)
      		at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
      		at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
      		... 11 common frames omitted
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: