Internal error when trying to edit any existing profile after a migration
search cancel

Internal error when trying to edit any existing profile after a migration

book

Article ID: 276654

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After migrating packages, new MCS profiles can be successfully added, but when trying to update an existing one, there is an error:

From logs:

2023-11-28 13:20:02.022 [https-jsse-nio-443-exec-5]  ERROR com.ca.uim.mcs.api.controller.ProfileSummaryController:updateProfile:294 controller.ProfileSummaryController - Unexpected error occured.
com.ca.uim.mcs.api.exception.ServerErrorException: An unknown error occurred. Check the log for more information.
           at
com.ca.uim.mcs.api.service.ProfileService.createOrUpdateDeviceOrGroupProfile(ProfileService.java:496) ~[mcs-ui-api-20.4.8.jar:20.4.8]
           at com.ca.uim.mcs.api.service.ProfileService.replaceProfile(ProfileService.java:422) ~[mcs-ui-api-20.4.8.jar:20.4.8]

Environment

UIM 20.4 any cumulative

Cause

In tables ssrv2probetemplaespackage and ssrv2probetemplatesupgrade , there were some entries for packages with status of "migrating" and not "migrated".

 

 

Resolution

Manually updating these entries to "ok" and the issue was solved.

UPDATE ssrv2probetemplaespackage set status ='ok' where status = 'migrating'

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/unified-infrastructure-management/20-4/configuring-and-viewing-monitoring-data/monitoring-configuration-service/mcs-templates-workflow-for-administrator.html