VCF VxRail Cluster Deletion Failure with "The validated expression is false".
search cancel

VCF VxRail Cluster Deletion Failure with "The validated expression is false".

book

Article ID: 376332

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When attempting to delete a VxRail Cluster it may fail with: 

"Delete SSO User" And "The validated expression is false":

You may see the same error from the /var/log/vmware/vcf/domainmanager/domainmanager.log:

exec-17]  Contract task Delete User In vCenter input: {"psc":{"address":"<hostname>","port":0,"username":"ad
[email protected]","password":"*****"},"users":[]}
2024-08-27T17:43:10.170+0000 ERROR [vcf_dm,66ce102e226300a849a9bfa0cd8cec94,d711] [c.v.e.s.o.model.error.ErrorFactory,dm-
exec-17]  [PL44UT] VCF_ERROR_INTERNAL_SERVER_ERROR Invocation of prefix 'preValidate' part of task DeleteSsoUsers in plug in VsphereContractPlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix 'preValidate' part of task DeleteSsoUsers in plugin VsphereContractPlugin failed with exception.

....

Caused by: java.lang.IllegalArgumentException: The validated expression is false

....

2024-08-27T17:43:10.192+0000 DEBUG [vcf_dm,66ce102e226300a849a9bfa0cd8cec94,d711] [c.v.e.s.o.c.ProcessingTaskSubscriber,dm-exec-17]  Collected the following errors for task with name DeleteSsoUsers and ID 7f000001-9175-1030-8191-8f8a4413003a: [ExecutionError [errorCode=null, errorResponse=LocalizableErrorResponse(messageBundle=com.vmware.evo.sddc.common.core.error.messages)], ExecutionError [errorCode=null, errorResponse=LocalizableErrorResponse(messageBundle=com.vmware.evo.sddc.

Environment

VxRail on VCF 5.x

Cause

The cluster deletion workflow is looking for an SSO account with name like svc-<vxrail manager name>-<vcenter name> and when it fails to find it (for clusters that were deployed prior to VCF4.5) it gives the above error message.

Prior to VCF 4.5 the SSO account name for VxRail Manager was in the format vxrmgmt_<cluster name/alias>.

Resolution

Contact GSS to assist with skipping this specific workflow.