Guardrail validations error during VCF 9 workflows
search cancel

Guardrail validations error during VCF 9 workflows

book

Article ID: 413190

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Host commission and other workflows will fail with "Failed to run guardrail validations" error:

Description [Applicable to skipped ESXi Hosts]Perform set of validations for current workflow
Progress Messages HOST_COMMISSION operation validation failed due to: Failed to run guardrail validations of type HOST_COMMISSION on resource 3345fge-9e5d-492b-aab9-1669dfgdfgee

Error

Message: HOST_COMMISSION operation validation failed due to: Failed to run guardrail validations of type HOST_COMMISSION on resource 467252e-9e5d-492b-aab9-166fghfghee

Remediation Message:

Reference Token: UAFDQH

Cause:

 

Environment

VCF 9.x

Cause

As part of VCF 9 -  there is a Lambda assessment API that validates the health of the SDDC Manager

 

> OperationsManager.Log
2025-10-03T11:21:54.943+0000 INFO  [vcf_om,68dfb1d2699d553b26316b041711f2cc,e56a] [c.v.v.l.a.a.ActivityLoggingInterceptor,http-nio-127.0.0.1-7300-exec-8] {"username":"vcfsvcs","timestamp":"2025-10-03T11:21:54
.943Z","clientIP":"127.0.0.1","userAgent":"Swagger-Codegen/1.0.0/java","api":"/operationsmanager/error","httpMethod":"POST","httpStatus":500,"operation":null,"remoteIP":"127.0.0.1","duration":2}
2025-10-03T11:21:54.944+0000 ERROR [vcf_om,68dfb1d227a5b3345d265da2fd472949,d48a] [c.v.v.a.s.AssessmentLambdaServiceClient,pool-2-thread-20] Encountered exception while executing guardrail validations 
java.lang.IllegalStateException: Failed to evaluate lambda class LambdaInputRest {
    checkSetType: DAY_N_GUARDRAILS
    domainIds: [3233252e-9e5d-492b-aab9-166930c6a8ee]
    targets: [class CheckTargetRest {
        type: HOST_COMMISSION
        resourceId: 3233252e-9e5d-492b-aab9-166930c6a8ee
    }]
    forceRefresh: true
}

 

This Lambda assessment API can fail as a result of null values that exist in the database:



grep -i NullPointerException /var/log/vmware/vcf/operationsmanager/operationsmanager.log | grep -i "is null" | grep -i dispatcherServlet

2025-10-03T08:32:52.469+0000 ERROR [vcf_om,0000000000000000,0000] [o.a.c.c.C.[.[.[.[dispatcherServlet],http-nio-127.0.0.1-7300-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [/operationsmanager] threw exception [Request processing failed: java.lang.NullPointerException: Cannot invoke "java.util.Collection.stream()" because "nsxtEdgeNodes" is null] with root cause


Resolution

Contact VMware By Broadcom Support