Maximo Open Forum

 View Only
  • 1.  User sync pod error

    Posted 07-09-2025 20:38

    Hi Maximo folks,

    After upgrade, we are observing that users are not getting synced from MAS to Manage and neither from Manage to MAS.

    Observing the below error in usersync manage pod. Not sure what error 500 means, if someone has any idea/suggestions please let us know.

    Sync user masadmin, status PENDING
    2025-07-09 13:34:37,449   usersync-agent-manage           INFO     [mas9dev masadmin] Sync user url: https://mas9dev-mas9dev.mas-mas9dev-manage.svc/meaweb/es/MASSYNC/MASPERUSER?clientcert=1, method: POST, headers: {'content-type': 'application/json'}
    2025-07-09 13:34:37,449   usersync-agent-manage           INFO     [mas9dev masadmin] Sync user data: {data*************}
    2025-07-09 13:34:37,490   usersync-agent-manage           INFO     [mas9dev masadmin] Sync user response: r.status: 500, r.text: Error 500: 
    2025-07-09 13:34:37,490   usersync-agent-manage           INFO     [mas9dev masadmin] synched: status_code: 500 r.text Error 500: 
    2025-07-09 13:34:37,490   usersync-agent-manage           ERROR    [masadmin] Got exception: [mas9dev masadmin] synched: status_code: 500 r.text Error 500: 
    2025-07-09 13:34:37,490   usersync-agent-manage           ERROR    Traceback (most recent call last):
      File "/usr/local/mas-python/lib64/python3.11/site-packages/mas/utils/usersync/usersync.py", line 292, in doSync
        agent.syncUser(user)
      File "/opt/ibm/usersync/agent.py", line 75, in syncUser
        raise Exception(errMsg)
    Exception: [mas9dev masadmin] synched: status_code: 500 r.text Error 500: 
    2025-07-09 13:34:37,490   usersync-agent-manage           INFO     Attempt: 5 of 5
    2025-07-09 13:35:07,491   usersync-agent-manage           INFO     [masadmin] Updating user sync state for application manage to ERROR
    2025-07-09 13:35:07,491   usersync-agent-manage           INFO     url: https://internalapi.mas-mas9dev-core.svc/v2/users/masadmin/applications/manage/sync


    #Administration

    ------------------------------
    Poonam Aswani
    ltimindtree
    ------------------------------


  • 2.  RE: User sync pod error

    Posted 07-10-2025 22:12

    500 error can have a variety of causes in Maximo including potentially custom error messages. For example, if you require a custom field to be set on the MAXUSER object, that won't be set by MAS and generate an error. The manage pod would contain more detailed error message about why Maximo failed to process the user record. If you don't understand the error there, please post it here and I'll try and explain.

    Also be aware that once a sync for a user has failed 5 times, Maximo won't attempt again. If the Manage logs have already cycled, you need to edit the user in MAS to trigger it to synchronize again. 



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------