While migrating MCS templates for CDM to the latest version the migration fails.
After triggering activate_probe_template_package, the status of the package goes to ERROR-
The SSRV2ProbeTemplatesPackage may show the following errors:
One or more template migrations were either not possible or failed unexpectedy. . Please check MCS logs for the exact reason of failure. Probe template is disabled as migration failed for one of the template(s) in the package.DX UIM 23.4.*
Code issue in MCS in certain scenarios
The attached mon_config_service version 23.4.5 contains some changes that resolve these issues.
Steps to apply the fix:
1. Deploy the mon_config_service fix to the primary hub
2. Once deployed, run the "one_step_migrator" callback on the mon_config_service probe.
In the example below we are pusing the CDM template version 7.22:
The parameters for this callback would be like :
probe_name = cdm
templates_package_version = 7.22
NOTE:
This fix requires DX UIM 23.4.3 or later