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"
SDDC Manager 4.x
The /opt/vmware/vcf/lcm/lcm-app/conf/VersionAlias.yml file does not have the correct ownership.
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.ymlThe 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.