Incomplete Collection due to failure at stage:SRM'. Partial VC collection failure at stage: SRM. Duplicate key xxx-vcenter-fqdn (attempted merging values com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxxx and com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxxx)
vcenter-collection-error.log, you see:ERROR --- [collector-main-thread] c.vmware.um.collector.CollectionHelper : Status (COLLECT_API_ERR) for vCenter server : Partial collection failure: SRM.ERROR --- [collector-main-thread] com.vmware.um.vccollector.VCCollector : SRM stage raised exception java.lang.IllegalStateException: Duplicate key <vcenter-fqdn> (attempted merging values com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxxx and com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxx)java.lang.IllegalStateException: Duplicate key <vcenter fqdn> (attempted merging values com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxxx and com.vmware.vimxx.LicenseAssignmentManagerLicenseAssignment@xxxxx) at java.base/java.util.stream.Collectors.duplicateKeyException(Unknown Source) at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Unknown Source) at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
VCF Usage Meter 9.x
In VCF Usage Meter 9.x, the assets name under the Administration > Licensing > Licenses has to be unique.
To resolve the issue please follow the below steps:
1. Login to the vCenter
2. Under the Administration > Licensing > Licenses please check the Assets TABLE
3. Ensure all the Registered Assets have unique name
4. If the existing license settings are not unique, please refer to the How to Configure License Settings for Your vCenter Server' guide for instructions on modification