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

Make it more prominent that the user needs to provide enough disk space for the upgrade

    XMLWordPrintable

Details

    • Not defined

    Description

      Context:
      In the past, we experienced the problem that a user wasn't able to perform the upgrade successfully as there wasn't enough disk space available. The error message also used to be very cryptic:

      {"@timestamp":"2020-09-13T20:13:49.208+02:00","@version":"1","message":"Error while executing upgrade from 3.0.0 to 3.1.0","logger_name":"org.camunda.optimize.upgrade.main.UpgradeProcedure","thread_name":"main","level":"ERROR","level_value":40000,"stack_trace":"org.camunda.optimize.upgrade.exception.UpgradeRuntimeException: Error while trying to read reindex progress!\n\tat org.camunda.optimize.upgrade.es.ESIndexAdjuster.waitUntilReindexingTaskIsFinished(ESIndexAdjuster.java:460)\n\tat org.camunda.optimize.upgrade.es.ESIndexAdjuster.reindex(ESIndexAdjuster.java:145)\n\tat org.camunda.optimize.upgrade.steps.schema.UpdateIndexStep.execute(UpdateIndexStep.java:80)\n\tat org.camunda.optimize.upgrade.plan.UpgradeExecutionPlan.execute(UpgradeExecutionPlan.java:77)\n\tat org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:43)\n\tat org.camunda.optimize.upgrade.main.UpgradeMain.main(UpgradeMain.java:62)\nCaused by: org.elasticsearch.client.ResponseException: method [GET], host http://localhost:8098, URI [/_tasks/pQE1nR1ySrmoqee4HNADnA:1700177], status line [HTTP/1.1 404 Not Found]\n{\"error\":{\"root_cause\":[
      
      {\"type\":\"resource_not_found_exception\",\"reason\":\"task [pQE1nR1ySrmoqee4HNADnA:1700177] isn't running and hasn't stored its results\"}
      ],\"type\":\"resource_not_found_exception\",\"reason\":\"task [pQE1nR1ySrmoqee4HNADnA:1700177] isn't running and hasn't stored its results\"},\"status\":404}\n\tat org.elasticsearch.client.RestClient.convertResponse(RestClient.java:260)\n\tat org.elasticsearch.client.RestClient.performRequest(RestClient.java:238)\n\tat org.elasticsearch.client.RestClient.performRequest(RestClient.java:212)\n\tat org.camunda.optimize.upgrade.es.ESIndexAdjuster.waitUntilReindexingTaskIsFinished(ESIndexAdjuster.java:410)\n\t... 5 common frames omitted\n"}
      

      AT:

      • it's more prominent in the upgrade guide that the user needs to ensure that there's enough disk space
      • the warning message on the start up of the upgrade script emphasizes the disk space issue
      • Optimize fails the upgrade right from the start if Elasticsearch does not have enough disk space available

      Hint:
      To check the disk space of Elasticsearch one can use:

      curl -XGET 'localhost:9200/_cat/allocation?v&pretty'
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce