Stretched Cluster Expansion Fails at Add Hosts to Host Group step
search cancel

Stretched Cluster Expansion Fails at Add Hosts to Host Group step

book

Article ID: 434609

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

VMware Cloud Foundation (VCF) stretched cluster expansion fails in SDDC Manager during the "Add Hosts To Host Group" sub-task.

The SDDC Manager UI displays the following error:

Operation to add host to host group resulted in error [Unable to add host(s) [<HOSTNAME>, <HOSTNAME>, <HOSTNAME>] to host group <HOSTNAME>_secondary-az-hostgroup].

 

The /var/log/vmware/vcf/domainmanager/domainmanager.log displays the following:

<YYYY-MM-DDTHH:MM:SS> ERROR [vcf_dm,xxxxx,xxxx] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-10]  [<REF_TOKEN>] BULK_ADD_HOST_TO_HOST_GROUP_FAILED Operation to add host to host group resulted in error [Unable to add host(s) [<HOSTNAME>, <HOSTNAME>, <HOSTNAME>] to host group <HOSTNAME>_secondary-az-hostgroup].
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Operation to add host to host group resulted in error [Unable to add host(s) [<HOSTNAME>, <HOSTNAME>, <HOSTNAME>] to host group <HOSTNAME>_secondary-az-hostgroup].
        at com.vmware.vcf.common.fsm.plugins.action.impl.AddHostsToHostGroupAction.execute(AddHostsToHostGroupAction.java:53)
        at com.vmware.vcf.common.fsm.plugins.action.impl.AddHostsToHostGroupAction.execute(AddHostsToHostGroupAction.java:20)
        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:520)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:124)
        at jdk.internal.reflect.GeneratedMethodAccessor1145.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:59)
        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

SDDC Manager 5.2.1.2

Cause

The ESXi hosts were manually added to the vCenter VM/Host Group before starting the SDDC Manager expansion task.
The workflow fails because SDDC Manager attempts to add these hosts to the group, which vCenter rejects since they are already members.

Resolution

  1. Log in to the vSphere Client.
  2. Navigate to the target cluster and select the Configure tab.
  3. Under the Configuration menu, select "VM/Host Groups".
  4. Select the specific VM/Host Group referenced in the SDDC Manager error (e.g. <HOSTNAME>_secondary-az-hostgroup).
  5. In the bottom pane, select the target expansion hosts and click Remove.
  6. Do not delete the VM/Host Group itself; leave it intact with the exact name.
  7. Return to the SDDC Manager UI and click Restart on the failed stretched cluster expansion task.