VCF 9.x Cluster creation fails with error, "Failed to validate cluster spec"
search cancel

VCF 9.x Cluster creation fails with error, "Failed to validate cluster spec"

book

Article ID: 437216

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

A similar error is observed in the SDDC Manager UI.

The following error is observed in the SDDC Manager's domainmanager.log

/var/log/vmware/vcf/domainmanager/domainmanager.log
======================================================================================
####-##-##T##:##:##.###+0000 ERROR [vcf_dm,69dea04d34d79d6dea1b8f7d22054fb2,08d1] [c.v.v.c.f.a.ValidateClusterSpecAction,dm-exec-16]  Portgroup with the name <duplicate name> already exists
####-##-##T##:##:##.###+0000 ERROR [vcf_dm,69dea04d34d79d6dea1b8f7d22054fb2,08d1] [c.v.v.c.f.a.ValidateClusterSpecAction,dm-exec-16]  Cluster Spec validation failed with errors [PORTGROUP_EXISTS]
####-##-##T##:##:##.###+0000 ERROR [vcf_dm,69dea04d34d79d6dea1b8f7d22054fb2,08d1] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-16]  [U4PMBK] PUBLIC_CLUSTERSPEC_VALIDATIONS_FAILED Fail
ed to validate cluster spec
com.vmware.evo.sddc.common.core.error.CompositeInvalidInputException: Failed to validate cluster spec
        at com.vmware.vcf.clustermanager.fsm.actions.ValidateClusterSpecAction.execute(ValidateClusterSpecAction.java:199)
        at com.vmware.vcf.clustermanager.fsm.actions.ValidateClusterSpecAction.execute(ValidateClusterSpecAction.java:62)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:66)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:161)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:147)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:403)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:517)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:128)
        at jdk.internal.reflect.GeneratedMethodAccessor1063.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
        at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
        at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:63)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)

Environment

VMware Cloud Foundation

Cause

VCF 9.x requires unique port group names.

Resolution

Update the cluster creation json with unique port group names and start a new cluster creation task.