Adding host from SDDC Manager fails on the validation step with error, "Call failed to validate add host. Task not found."
search cancel

Adding host from SDDC Manager fails on the validation step with error, "Call failed to validate add host. Task not found."

book

Article ID: 403640

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

The following error is observed in the domainmanager.log

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

2025-06-25T16:52:34.896+0000 ERROR [vcf_dm,08c1ef4f347047ea,dd3a] [c.v.v.t.c.dal.sql.TaskClientImpl,http-nio-127.0.0.1-7200-exec-6] In TaskClientImpl, Task does not exist
2025-06-25T16:52:34.896+0000 ERROR [vcf_dm,08c1ef4f347047ea,dd3a] [c.v.v.t.c.dal.sql.TaskClientImpl,http-nio-127.0.0.1-7200-exec-6] In TaskClientImpl, failed to get Task
com.vmware.evo.sddc.inventory.model.error.TaskManagerException: Task not found.
        at com.vmware.vcf.taskmanager.client.dal.sql.TaskClientImpl.getTask(TaskClientImpl.java:36)
        at com.vmware.evo.sddc.taskmanager.services.impl.TaskServiceImpl.getTask(TaskServiceImpl.java:37)
        at com.vmware.vcf.clustermanager.controller.v1.ClusterController.getClusterUpdateValidation(ClusterController.java:867)
        at jdk.internal.reflect.GeneratedMethodAccessor1812.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invoke

Environment

VMware Cloud Foundation 5.x

Cause

A property flag was disabled from prior troubleshooting and not re-enabled. 

Resolution

  1. SSH into the SDDC Manager with vcf and then elevate to root.

  2. Edit the domainmanager service application-prod.properties
    vi /etc/vmware/vcf/domainmanager/application-prod.properties

  3. Remove or comment out any override flags in the properties file.

    # will override the defaults in prod profile
    # this should only contain properties that we want to preserve on upgrade
    spring.profiles.group.default=default,test

    # generated service id on Wed Jan  8 06:40:27 PM UTC 2025
    server.serviceId=bcd9da31-03d6-41ee-8ca6-90035ca621a1

    #vcf.skip.dayn.guardrails=true
    #disable.async.validation=true

    # generated database password on Wed Jan  8 06:40:59 PM UTC 2025
    spring.datasource.password=#############

  4. Cycle the domainmanager service
    systemctl restart domainmanager.service