Add host to cluster fail at ESXi host Remediate with error "Applying personality to cluster domain-cx failed with error: The session is not authenticated"
search cancel

Add host to cluster fail at ESXi host Remediate with error "Applying personality to cluster domain-cx failed with error: The session is not authenticated"

book

Article ID: 414332

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

After host commission, failed to add new host to cluster at remediate task

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

yyyy-mm-ddThh:mm:ss.xxx+0000 WARN [vcf_dm,68d0eb272181d3d3703dc086f7f935ca,7288] [c.v.e.s.c.c.v.esx.EsxCommandExecutor,dm-exec-16] VC-FQDN : Unable to logout
com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated.
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
        at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347)
        at java.base/java.lang.Class.newInstance(Class.java:645)
        at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174)
:
yyyy-mm-ddThh:mm:ss.xxx+0000 ERROR [vcf_dm,68d0eb272181d3d3703dc086f7f935ca,7288] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-16] [41D6QJ] VLCM_REMEDIATE_PERSONALITY_FAILED Exception thrown when remediating cluster
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Exception thrown when remediating cluster
        at com.vmware.vcf.common.contract.fsm.actions.impl.ApplyVlcmAction.execute(ApplyVlcmAction.java:227)
        at com.vmware.vcf.common.contract.fsm.actions.impl.ApplyVlcmAction.execute(ApplyVlcmAction.java:58)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:62)

Environment

VCF 5.x

Cause

This is expected behavior when remediate task on vSphere side take more than 1 hour.

As the task status from vCenter is still in progress even after one hour, the SDDC domainmanger timedout and marked the status as failed on SDDC manager side.

 

Resolution

Timeout value is hardcorded and cannot change.

Re-try add host task from SDDC maanger after complete remediation at VC side.