Error: VI Workload Domain Decommission Failure: 1 Node Topology
search cancel

Error: VI Workload Domain Decommission Failure: 1 Node Topology

book

Article ID: 434528

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • SDDC (Software-Defined Data Center) UI error: '1 node topology is not allowed, min 3'
  • When attempting to decommission a VI Workload Domain in VMware Cloud Foundation (VCF), the task fails during the validation phase.
  • SDDC Manager log location /var/log/vmware/vcf/domainmanager/domainmanager.log shows

    Cause: Fetched topology with 1 nodes is invalid. The count of the nodes should be 3.
    Decommission task with id [######]:com.vmware.vcenter.topology.nodes.embedded has failed
    .

  • PSC Ring Topology status is "RED"

    Vcenter log location -/var/log/vmware/vmdird/vmdird-syslog.log

    YYYY-MM-DDTHH:MM:SS.MS+HH:MM err vmdird  t@###################: VmDirSendLdapResult: Request (Delete), Error (LDAP_NO_SUCH_OBJECT(32)), Message ((9703)((MDB_NOTFOUND: No matching key/data pair found)(labeleduri=ldap://<FQDN> agreements,cn=<FQDN>,cn=servers,cn=default-first-site,cn=sites,cn=configuration,dc=vsphere,dc=local))), (0) socket (###.#.#.#)
    YYYY-MM-DDTHH:MM:SS.MS+HH:MM err vmdird  t@###################: InternalDeleteEntry: VdirExecutePostDeleteCommitPlugins - code(9703)

    Vcenter log location -/var/log/vmware/applmgmt/applmgmt.log

    YYYY-MM-DDTHH:MM:SS.MS AM UTC [####]ERROR:vcenter.topology_node_impl:Failed to remove replication with <FQDN>. password:
    YYYY-MM-DDTHH:MM:SS.MS AM UTC [####]ERRORvcenter.topology_node_impl:Removal of replication agreement between the vCenter Server nodes failed.
    YYYY-MM-DDTHH:MM:SS.MS AM UTC [####]INFO:vmware.vapi.lib.thread_pool:Thread-13 (_worker) caught exception: <class 'com.vmware.vapi.std.errors_provider.Error'>
    YYYY-MM-DDTHH:MM:SS.MS AM UTC [####]INFO:vmware.vapi.lib.thread_pool:Traceback (most recent call last):
       File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/lib/thread_pool.py", line 147, in _worker
        work_item.ret = work_item.fn(
       File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/skeleton.py", line 302, in _invoke_method
        result = method(**method_args)
       File "/usr/lib/applmgmt/vcenter/py/vmware/vcenter/topology_node_impl.py", line 352, in decommission
        vapiError(err_msg)
       File "/usr/lib/applmgmt/base/py/vmware/vherd/base/vapi_errors.py", line 113, in vapiError
        raise ErrorFactory.new_error(messages=messages)
     com.vmware.vapi.std.errors_provider.Error: {messages : [{'id': 'com.vmware.appliance.RemoveReplication', 'default_message': 'Removal of replication agreement betweenvCenter Server nodes failed.', 'args': []}], data : None, error_type : None}
    YYYY-MM-DDTHH:MM:SS.MS AM UTC [####]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.cis.tasks, operation_id: get

Environment

VCF 5.x

Cause

The VMware Cloud Foundation (VCF) decommissioning workflow validates that the Single Sign On (SSO) topology contains at least three nodes when the vCenter Server participates in Enhanced Linked Mode. When the topology consists of only a single node, the workflow identifies it as an invalid ring configuration for ELM and prevents the decommission task from proceeding.

Resolution

Split the Enhanced Linked Mode (ELM) configuration to isolate the workload vCenter Server before attempting the decommission.

  1. Confirm the error string Fetched topology with 1 nodes is invalid exists in the domainmanager.log.
  2. Create a file-based backup and a powered-off snapshot of all vCenter Server nodes in the SSO domain.
  3. Follow the procedures in Splitting Enhanced Linked Mode (ELM) to unregister and isolate the workload vCenter Server.
  4. Log in to the isolated vCenter Server and verify it does not show active replication partners.
  5. Restart the VI Workload Domain decommission task in the SDDC Manager UI.

Note: When the vCenter Server is isolated, the workflow bypasses the three-node validation and the domain removal completes successfully.