cmsso-util domain-repoint -m execute command, the process fails during the "Starting Tagging Data import" step.cmsso-util domain-repoint -m pre-check reports no issues./var/log/vmware/cloudvm/cmsso_util.log contains the following error:
YYYY-MM-DD HH:MM:SS INFO cmsso_util Failed to execute script /usr/lib/repoint/taggingservice_component_script.py
YYYY-MM-DD HH:MM:SS INFO cmsso_util Failed executing <cis.component_data.DcImportCommand object at 0x############>
YYYY-MM-DD HH:MM:SS ERROR cmsso_util Re-pointing operation has failed during execution mode.
YYYY-MM-DD HH:MM:SS INFO cmsso_util Repoint failed. Restore from backup
/var/log/vmware/cloudvm/domain_data_export.log you find errors like in the example below:YYYY-MM-DD HH:MM:SS [main [] ERROR com.vmware.vim.dataservices.ImportTaggingData opId=]- ExecutionException :(dataservice.fault.AlreadyExistsFault) { faultCause = null, faultMessage = null }
YYYY-MM-DD HH:MM:SS [main [] ERROR com.vmware.vim.dataservices.ImportTaggingData opId=]- Failure importing Tagging info, local msg: (dataservice.fault.AlreadyExistsFault) { faultCause = null, faultMessage = null }
YYYY-MM-DD HH:MM:SS [main [] ERROR com.vmware.vim.dataservices.ImportTaggingData opId=]- Exception importing tagging data : java.util.concurrent.ExecutionException: (dataservice.fault.AlreadyExistsFault) { faultCause = null, faultMessage = null }
YYYY-MM-DD HH:MM:SS [main [] ERROR com.vmware.vim.dataservices.ImportTaggingData opId=]- Stack trace : java.util.concurrent.ExecutionException: (dataservice.fault.AlreadyExistsFault) { faultCause = null, faultMessage = null }
/var/log/vmware/vpxd-svcs/vpxd-svcs.log you see below mentioned errorYYYY-MM-DD HH:MM:SS [dataservice-0 [] ERROR com.vmware.cis.core.tagging.internal.impl.CategoryManagerImpl opId=7550ef6d-####-####-####-##########IS] Category with name Backup already exists:
YYYY-MM-DD HH:MM:SS [dataservice-0 [] ERROR com.vmware.cis.core.tagging.vmodl.MoTagManager opId=7550ef6d-####-####-####-##########IS] Failed to create category with name : Backup com.vmware.cis.core.tagging.exception.AlreadyExistsException: Category with name Backup already exists:
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
The issue occurs when a tag category exists in both vCenter Servers, that has the same name but different case spelling. For example:
During ELM creation, vCenter attempts to import tagging categories from one vCenter to the other. Due to the case-insensitive nature of category and tag names, the creation process detects a naming conflict and fails, preventing the ELM creation from completing.
To resolve this issue, ensure that offline snapshots exist for all of the vCenter Servers, then update the category name in one of the vCenters to match the other exactly, including letter case, by taking the steps below:
Log in to the vSphere Client (HTML5 UI) of the vCenter where the name mismatch exists.
Navigate to Menu > Tags & Custom Attributes > Categories.
Locate the conflicting category name (e.g., backup).
Click on the category name to open its details.
Click the Edit (pencil) icon.
In the Name field, change the category name to match the one on the other vCenter exactly (e.g., rename backup to Backup).
Click Save to apply the changes.
Re-run the cmsso-util domain-repoint -m execute command to continue ELM creation. If this fails, please restore snapshot of ALL linked vCenter instances before the domain repoint was ran.
Once the names match exactly, vCenter will recognize the categories as the same and skip trying to recreate them, allowing the ELM creation to complete successfully.
Important Considerations When Renaming Categories: