Multi-DVS script is failing during validation for separate overlay dvs scenario.
search cancel

Multi-DVS script is failing during validation for separate overlay dvs scenario.

book

Article ID: 316100

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This KB has workaround steps to download latest Multi-DVS script to resolve the issue faced.

Symptoms:
Importing cluster using MultiDvsAutomator script on 4.5.1 VCF on vxrail is failing on validation - GenerateVxRailAddClusterInternalModelAction

Below failures are being reported in domainmanager logs while importing clusters during Create Domain/Add Cluster validation from Multi-DVS script if customer passes separate overlay dvs scenario.

Create Domain failure:

2023-07-04T13:26:47.902+0000 ERROR [vcf_dm,72dbd8e5b25c359e,282e] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-9] [LG3TQD] VCF_ERROR_INTERNAL_SERVER_ERROR Invocation of prefix '' part of task GenerateVxRailViInternalModelForClusterAction in plugin VxRailViDomainServicePlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix '' part of task GenerateVxRailViInternalModelForClusterAction in plugin VxRailViDomainServicePlugin failed with exception.
 at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:447)
 at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:520)
 at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:124)
 at jdk.internal.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:88)
 at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:73)
 at org.springframework.cloud.sleuth.instrument.async.TraceRunnable.run(TraceRunnable.java:64)
 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException: null
 at com.vmware.vxrail.vcf.vimanager.fsm.actions.GenerateVxRailViInternalModelForClusterAction.execute(GenerateVxRailViInternalModelForClusterAction.java:244)
 at com.vmware.vxrail.vcf.vimanager.fsm.actions.GenerateVxRailViInternalModelForClusterAction.execute(GenerateVxRailViInternalModelForClusterAction.java:78)
 at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:62)
 at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:159)
 at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:144)
 at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:400)

 ... 11 common frames omitted.

Add Cluster failure:

2023-06-20T20:51:03.790+0000 ERROR [vcf_dm,e8e0387fa6da759c,7e92] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-9] [95GKKR] VCF_ERROR_INTERNAL_SERVER_ERROR Invocation of prefix '' part of task GenerateVxRailAddClusterInternalModelAction in plugin VxRailClusterManagerServicePlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix '' part of task GenerateVxRailAddClusterInternalModelAction in plugin VxRailClusterManagerServicePlugin failed with exception.
       at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:447)
       at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:520)
       at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:124)
       at jdk.internal.reflect.GeneratedMethodAccessor2134.invoke(Unknown Source)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:88)
       at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:73)
       at org.springframework.cloud.sleuth.instrument.async.TraceRunnable.run(TraceRunnable.java:64)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException: null
       at com.vmware.vxrail.vcf.clustermanager.fsm.actions.GenerateVxRailAddClusterInternalModelAction.execute(GenerateVxRailAddClusterInternalModelAction.java:188)
       at com.vmware.vxrail.vcf.clustermanager.fsm.actions.GenerateVxRailAddClusterInternalModelAction.execute(GenerateVxRailAddClusterInternalModelAction.java:59)
       at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:62)
       at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:159)
       at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:144)
       at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:400)
       ... 11 common frames omitted


Environment

VMware Cloud Foundation 5.0
VMware Cloud Foundation 4.5.x

Cause

This issue will occur when user follows non-workflow-optimization path and tries to import the cluster by providing separate overlay dvs option.

Resolution

New Multi-DVS script is provided with the fix. 

For VCF on VxRail 4.5.x : Multi-Dvs-Automator-4500-master
For VCF on VxRail 5.0 : Multi-Dvs-Automator-5000-master