Symptoms:
/opt/vmware/vcloud-director/logs/cell-runtime.log:
Caused by: java.lang.IllegalStateException: Duplicate key (VM,disk.read.average) (attempted merging values com.vmware.vcloud.metrics.model.interna
MetricConfigurationModel@2fba16aa and com.vmware.vcloud.metrics.model.internal.MetricConfigurationModel@6fb865b5)
at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:133)
at java.base/java.util.stream.Collectors.lambda$uniqKeysMapMerger$0(Collectors.java:155)
at java.base/java.util.stream.ReduceOps$3ReducingSink.combine(ReduceOps.java:174)
at java.base/java.util.stream.ReduceOps$3ReducingSink.combine(ReduceOps.java:160)
at java.base/java.util.stream.ReduceOps$ReduceTask.onCompletion(ReduceOps.java:959)
at java.base/java.util.concurrent.CountedCompleter.tryComplete(CountedCompleter.java:592)
VMware Cloud Director 10.x
This occurs due to duplication of the metrics in the vCloud Director database and as a result, the cell startup fails to complete.
Database modifications are required to reduce the size of vCD database and this is to be done under the supervision of Broadcom Technical Support. Please open a Support request with Broadcom.