SDDC Manager Prechecks failing to complete with error: Unsatisfied dependency expressed through field due to Invalid boolean value
search cancel

SDDC Manager Prechecks failing to complete with error: Unsatisfied dependency expressed through field due to Invalid boolean value

book

Article ID: 404079

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When attempting the WLD domain prechecks the workflow fails. In the LCM logs we notice an error similar to the excerpt:

yyyy-mm-ddThh:mm:ss.xxxx+0000+0000 ERROR [vcf_lcm,0000000000000000,0000] [o.s.boot.SpringApplication,main] Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'upgradePrecheckAsyncHandler': Unsatisfied dependency expressed through field '<value>': 
Error creating bean with name '<value>': Unsatisfied dependency expressed through field '<precheck_parameter>': Failed to convert value of type 'java.lang.String' to required type 'boolean'; Invalid boolean value [<invalid_value>]

Environment

VMware SDDC Manager 5.x

Cause

The issue can occur when LCM  application-prod.properties configuration file contains an invalid entry in one of the configured precheck parameters value.

Resolution

Note: Before performing any changes make sure to get a backup/snapshot of the SDDC manager appliance

To resolve the issue follow the steps below:

  • Login to SSH of the SDDC Manager using vcf, and su -

  • Check in the LCM logs what field is referred as containing an invalid value.

    The lcm log files are located under: /var/log/vmware/vcf/lcm/lcm-debug.log

  • Verify the /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties configuration file for that specific entry.

  • Once the misconfiguration is detected edit the file with a vi editor and replace the invalid entries with correct values.

  • Restart the lcm service so the changes are taken into account: systemctl restart lcm

  • Reattempt the prechecks

 

Note: If you are unsure about the changes open a case with Broadcom VCF GS to assist you.