VCF - APTool patch Failure: "Updating version alias config failed with error failed with error 400 Client Error for url: http://localhost/v1/system/settings/version-aliases"
search cancel

VCF - APTool patch Failure: "Updating version alias config failed with error failed with error 400 Client Error for url: http://localhost/v1/system/settings/version-aliases"

book

Article ID: 369816

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When attempting to patch via APTool you may observe the following error within the /var/log/vmware/vcf/lcm/tools/asyncpatchtool/asyncpatchtool.log:

"Updating version alias config failed with error failed with error 400 Client Error for url: http://localhost/v1/system/settings/version-aliases"

 

Environment

SDDC Manager 4.x

Cause

The /opt/vmware/vcf/lcm/lcm-app/conf/VersionAlias.yml file does not have the correct ownership.

 

Resolution

Update the /opt/vmware/vcf/lcm/lcm-app/conf/VersionAlias.yml to the correct ownership:

chown vcf_lcm:vcf /opt/vmware/vcf/lcm/lcm-app/conf/VersionAlias.yml

Additional Information

The correct permissions of the VersionAlias.yml file are required in order to progress with the ApTool patch as it updates the Version within the file.