SDDC Manager Pre-check failed with Exception occurred while performing password validation task for vcenter
search cancel

SDDC Manager Pre-check failed with Exception occurred while performing password validation task for vcenter

book

Article ID: 316080

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
A similar issue is reported on multiple appliances during the pre-check including but not limited to NSX-T
The subscription licensing feature was disabled by following KB 90790


/var/log/vmware/vcf/lcm/lcm-debug.log

YYYY-MM-DDT10:24:04.991+0000 ERROR [vcf_lcm,258d448af834479a,c5dd,precheckId=########-####-####-####-##########f5,resourceType=PSC,resourceId=########-####-####-####-##########67] [c.v.e.s.l.p.i.vcenter.VCenterCommon,Precheck-6] Exception occurred while performing password validation task for VCenter vcenter_fqdn
com.vmware.evo.sddc.lcm.model.error.LcmException: Password validation execution failed with exception: 403 : "{"message":"Unable to determine if functionality is allowed/blocked.","status":403}".


/var/log/vmware/vcf/operationsmanager/operationsmanager.log

YYYY-MM-DDT10:24:04.987+0000 ERROR [vcf_om,33873c73e247986e,75dd] [c.v.v.f.t.i.FunctionalityToggleApiFilter,http-nio-127.0.0.1-7300-exec-7] Functionality blocked:
com.vmware.vcf.functionality.toggle.error.FunctionalityToggleException: Unable to determine if functionality is allowed/blocked.
Caused by: com.vmware.cloud.foundation.rest.commonsvcs.runtime.ApiException


/var/log/vmware/vcf/commonsvcs/vcf-commonsvcs.log

YYYY-MM-DDT10:24:04.982+0000 ERROR [common,33873c73e247986e,75dd] [c.v.v.r.s.util.LicensingStateUtil,http-nio-127.0.0.1-7100-exec-5] Failed to get licensing state. Response code 404
YYYY-MM-DDT10:24:04.983+0000 ERROR [common,33873c73e247986e,75dd] [c.v.v.r.r.a.c.v.ResourceFunctionalitiesController,http-nio-127.0.0.1-7100-exec-5] Exception occurred when retrieving the resource functionalities.
com.vmware.evo.sddc.common.core.error.InvalidStateException: Error encountered while fetching system licensing state.


Environment

VMware Cloud Foundation 4.5.x
Vmware Cloud Foundation 4.5

Cause

The required API /v1/licensing-info is only exposed if the subscription is enabled.

Resolution

  1. SSH into the SDDC Manager and elevate to root with su.
  2. Add the following to the /home/vcf/feature.properties file. (Create the file if it does not already exist)
    • feature.vcf.plus.subscription=true
  3. Update the permissions on the feature.properties file.
    • chown vcf:vcf /home/vcf/feature.properties
  4. Restart the operationsmanager service
    • systemctl restart operationsmanager
  5. Retry the pre-check from the SDDC Manager UI.