Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-1272

Some users are causing missing dependency errors in JCMA

XMLWordPrintable

    • 49
    • Severity 2 - Major

      Issue Summary

      There is an increasing frequency of some users causing dependency errors that are preventing certain entities from migrating.

      Steps to Reproduce

      1. Customers are seeing this error and are able to reproduce on multiple runs

      TODO: Add additional steps once known

      Expected Results

      There are two possible outcomes that are expected:
      1. The entity (comment, issue, issue history, etc) migrates successfully

      OR

      2. The entity is migrated and associated with "Former User"

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      2023-01-20 17:29:06.665015 ERROR AUTH project-import We couldn't import Comment 17234 (on Issue AUTH-143 by '<Display_Name>' on 2017-06-02T09:15:48Z) because of 1 missing dependencies: User '<username>'. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:06.665019 ERROR AUTH project-import We couldn't import Comment 17395 (on Issue AUTH-161 by '<Display_Name>' on 2017-07-03T10:59:57Z) because of 1 missing dependencies: User '<username>'. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:07.732921 ERROR AUTH project-import We couldn't import File Attachment 'XXXXX.jpg' (on Issue AUTH-145) because of 1 missing dependencies: User '<username>'. This caused 2 other items to fail. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:07.732907 ERROR AUTH project-import We couldn't import File Attachment 'XXXXX.PNG' (on Issue AUTH-145) because of 1 missing dependencies: User '<username>'. This caused 2 other items to fail. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:00.642885 ERROR AUTH project-import We couldn't import Issue AUTH-81 because of 1 missing dependencies: User '<username>'. This caused 32 other items to fail. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:02.477888 ERROR AUTH project-import We couldn't import Issue AUTH-87 because of 1 missing dependencies: User '<username>'. This caused 16 other items to fail. Check the reasons for the missing dependencies on your server site.
      2023-01-20 17:29:00.568010 ERROR AUTH project-import We couldn't import Issue AUTH-88 because of 1 missing dependencies: User '<username>'. This caused 18 other items to fail. Check the reasons for the missing dependencies on your server site.
      

      Workaround

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

      Certain scenarios can be avoided by these workarounds, your mileage may vary:

      • Use the "Migrate all users and groups" option in the migration plan
      • Reactivate the user on the external directory (if applicable)
      • Adding the inactive user to a group

              9abe9c3b55ac Arun Ganesh
              6c05774b4db4 Carl Adolfson
              Votes:
              27 Vote for this issue
              Watchers:
              49 Start watching this issue

                Created:
                Updated:
                Resolved: