Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-12048

Import tasks can get stuck and cannot be cancelled / restarted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.20.12, 5.6.0
    • Assets - Import
    • None

    Description

      Issue Summary

      Import tasks can get stuck and cannot be cancelled / restarted

      Steps to Reproduce

      1. Set an import schedule
      2. Let the import run
      3. When the import gets stuck, on the Import configuration, press Stop button
      4. Start the synchronization again manually

      Expected Results

      Manual synchronization triggers a new import.

      Actual Results

      The synchronization cannot be triggered, and the old stuck process is still running.

      The following appears on the screen when attempting to synchronize the import task:

      Workaround

      • Restart Jira
      • Disable and enable Insight plugin through REST API:
        • Disable plugin:
          PUT /rest/plugins/1.0/com.riadalabs.jira.plugins.insight-key
          Header: Content-Type: application/vnd.atl.plugins.plugin+json
          body:
          { "enabled": false }
          
        • Enable plugin by RestAPI
          PUT /rest/plugins/1.0/com.riadalabs.jira.plugins.insight-key
          Header: Content-Type: application/vnd.atl.plugins.plugin+json
          body:
          { "enabled": true }
          

      Important note: In some cases, disabling Insight can disable some other system plugins and trigger cache flushes event (see JSDSERVER-12106). To avoid any downtime / minimize effect, make sure to perform this workaround outside of working hours.

      Notes

      So far, we were not able to reproduce this exact behaviour internally, but this problem can occur when there is an import problem in the early stage of the import (e.g. LDAP connection issue or database connectivity problem).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfilipan Marko Filipan
              Votes:
              10 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync