ValidateVmnicsForAddHost in plugin VxRailHostServicePlugin failed with exception
search cancel

ValidateVmnicsForAddHost in plugin VxRailHostServicePlugin failed with exception

book

Article ID: 316022

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article explains the steps to resolve issue with failed Host addition to VCF cluster for the above mentioned error

Symptoms:

Unable to Add host to vcf cluster

Error in /var/log/vmware/vcf/domainmanager/domainmanager.log

2023-05-16T14:38:29.854+0000 ERROR [vcf_dm,418b72aa956b46f5,0c48] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-15] [IUU1OM] VCF_ERROR_INTERNAL_SERVER_ERROR Invocation of prefix '' part of task ValidateVmnicsForAddHost in plugin VxRailHostServicePlugin failed with exception

com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix '' part of task ValidateVmnicsForAddHost in plugin VxRailHostServicePlugin 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 sun.reflect.GeneratedMethodAccessor1739.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
    at org.springframework.cloud.sleuth.instrument.async.TraceRunnable.run(TraceRunnable.java:67)
    at org.springframework.cloud.sleuth.instrument.async.TraceRunnable.run(TraceRunnable.java:67)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
    at com.vmware.vxrail.vcf.hostmanager.action.ValidateVmnicsForAddHost.lambda$execute$1(ValidateVmnicsForAddHost.java:80)

 

Environment

VMware Cloud Foundation 4.x

Cause

  • Hosts were part of SDDC earlier and were removed and re-imaged
  • Stale entries of host post re-imaging or deleting the host

Resolution

Please open a ticket with Broadcom Support.