Hi Ofer,
I recently discovered this SK, and it would be really useful for me because I need to migrate an SMS to MDS, but divided into three CMAs. Thanks for your work!
So, I have created a first domain where I have most of the Gateways, and from this, a clone would be useful so that I don’t lose all the objects I need to replicate, such as Identity Providers, Account Units, Access Roles, etc.
However, I encountered issues on my first attempt. The upgrade_report returns: "Failed:null".
Looking into the cpm.elg log, I found this:
24/02/25 11:45:56,357 INFO management.upgradeRules.CloudShadowObjectPostUpgradeRule [taskExecutor-37]: This is the uid we are keeping e81f3860-1c3b-4b47-bf4a-991e6e4c510e
24/02/25 11:45:56,415 ERROR management.upgradeRules.CloudShadowObjectPostUpgradeRule [taskExecutor-37]: Failed to replace object c3296a78-ef54-4bde-82ce-21a19dbd548f with object e81f3860-1c3b-4b47-bf4a-991e6e4c510e java.util.InputMismatchException: got at least one duplicate UID in requested list, duplicates UIDs: [fc958e59-fa77-4d99-bfd8-36db44b31001]
24/02/25 11:45:56,430 ERROR upgrade.ngmImport.MigrateImportDomainTask [taskExecutor-37]: Domain migration failed for domain XXXXX - (id:bc2634fa-d328-40c6-9cd5-675db5d6673e) CpmGeneralException{base='com.checkpoint.management.is.exceptions.CpmGeneralException', errorCode='CP_ERR_UNSPECIFIED', errorFamily='null', messageForUser='got at least one duplicate UID in requested list, duplicates UIDs: [fc958e59-fa77-4d99-bfd8-36db44b31001]
Caused by: java.util.InputMismatchException: got at least one duplicate UID in requested list, duplicates UIDs: [fc958e59-fa77-4d99-bfd8-36db44b31001]
Further investigation revealed that the duplicated objects are all Updatable Objects, for example:
"uid" : "e81f3860-1c3b-4b47-bf4a-991e6e4c510e",
"name" : "Office365 Worldwide Services",
"type" : "updatable-object",
To work around this, I replaced all these objects in the rules with a temporary Host object, performed the export, and at that point, the import succeeded.
On my first attempt, I encountered many Validation Errors stating: "Dynamic Global Object cannot be in local domain". I think it also broke the Updatable Objects in some way because they lost their icons after the import.
Additionally, the Access Role objects lose their reference to the defined users.
Is there a way to solve these issues?
Thank you!
MSpA