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

Assets Device42 import process goes into an infinite loop

XMLWordPrintable

      Issue Summary

      Assets Device42 import process goes into an infinite loop calling the same api endpoint indefinitely if there were 100 or more items in the following categories

      • Application Component
        • More than 100 components
      •  Device
        • More than 100 IP addresses
        • More that 100 Mac addresses

      Steps to Reproduce

      1. Run a device42 import again the data that matches the above.

      Expected Results

      The device42 import process completes even if there are more then 100 objects in every category.

      Actual Results

      The device42 import goes into infinite loop for data matching the below categories.

      • Application Component
        • More than 100 components
      •  Device
        • More than 100 IP addresses
        • More that 100 Mac addresses

      When enabled DEBUG mode, we can see the below call in infinite loop in atlassian_jira.log file.

      2024-09-18 12:26:24,436+0300 insight-InsightImportThreadGroup-141-worker-thread-28 DEBUG importuser     [i.riada.rest.RestClient] Request: Request{method=GET, url=https://device42.testinstance.net/api/1.0/macs?device_id=1234&format=xml&limit=100, headers=[Accept:application/xml]}
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              9fb959d4c262 Liam Flanagan (Inactive)
              1463fcb5e3fd Sireesha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: