AVN Creation from SDDC Manager fails with error, "DEPLOY_AVN_SEGMENT_POST_VALIDATION_FAILED"
search cancel

AVN Creation from SDDC Manager fails with error, "DEPLOY_AVN_SEGMENT_POST_VALIDATION_FAILED"

book

Article ID: 368864

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Similar error is observed in the domainmanager logs.

 

/var/log/vmware/vcf/domainmanager/domainmanager.log

======================================================================================

2024-02-28T14:17:25.293+0000 ERROR [vcf_dm,be9131c60511c251,c15a] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-6] [8H01RC] DEPLOY_AVN_SEGMENT_POST_VALIDATION_FAILED Post validation failed for segment created on <vcenter name>
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Post validation failed for segment created on <vcenter name>
        at com.vmware.vcf.common.fsm.plugins.nsxt.policy.action.CreateNsxtOverlayAvnSegmentAction.postValidate(CreateNsxtOverlayAvnSegmentAction.java:204)
        at com.vmware.vcf.common.fsm.plugins.nsxt.policy.action.CreateNsxtOverlayAvnSegmentAction.postValidate(CreateNsxtOverlayAvnSegmentAction.java:36)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.lambda$static$1(FsmActionState.java:23)
        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)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:561)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:124)
        at jdk.internal.reflect.GeneratedMethodAccessor274.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.IllegalArgumentException: Port group not found in vCenter <vcenter name> for avn segment <exampleavn-10.121.37.1/25>
        at org.apache.commons.lang3.Validate.isTrue(Validate.java:158)
        at com.vmware.vcf.common.fsm.plugins.nsxt.policy.action.CreateNsxtOverlayAvnSegmentAction.postValidate(CreateNsxtOverlayAvnSegmentAction.java:194)
        ... 17 common frames omitted

 

 

 

Environment

VMware Cloud Foundation 4.x

VMware Cloud Foundation 5.x

Cause

A known character limitation within SDDC Manager. 

Resolution

1. Remove the " / " from the AVN name
2. Retry the workflow from SDDC Manager. 

Example:

Invalid name: exampleavn-10.121.37.1/25
Corrected name: exampleavn-10.121.37.1