SDDC Manager precheck error states "ERROR LCM_DIRECTORIES_PERMISSION_CHECK - Check if LCM has read and write permission to LCM self-upgrade related directories : Precheck Health Status - RED "
search cancel

SDDC Manager precheck error states "ERROR LCM_DIRECTORIES_PERMISSION_CHECK - Check if LCM has read and write permission to LCM self-upgrade related directories : Precheck Health Status - RED "

book

Article ID: 337085

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • Precheck fails with error  "ERROR LCM_DIRECTORIES_PERMISSION_CHECK -
    Check if LCM has read and write permission to LCM self-upgrade related directories"
  • Precheck Health Status - RED.
  • Error Description states "LCM does not have read/write permission to /opt/vmware/vcf/lcm/lcm-app/conf/feature.properties"
  • Remediation states "Make sure LCM App user(vcf_lcm) has read & write permissions to all files & directories involved in LCM slf-upgrade"
  • SDDC Manager's lcm.log shows error "Class path resource [feature.properties] cannot be opened because it does not exist"
  • /opt/vmware/vcf/lcm/lcm-app/conf/feature.properties file shows owner as vcf:vcf instead of vcf_lcm:vcf


Resolution

NOTE: Copying files under lcm-app/conf will lead to further precheck errors. So move the file to /home/vcf
Go to /opt/vmware/vcf/lcm/lcm-app/conf
chown vcf_lcm feature.properties

chmod 750 feature.properties

Then retry the precheck and upgrade.