vCenter Server patching fails with any of the following error messages after updating the token by following the steps in KB VCF Authenticated downloads Configuration Update Instructions:Error copying packages:Update is not staged:[Errno 2] No such file or directory: '/storage/updatemgr/software-update######/stage/update/patching_backup_config.json':Error in method invocation Timeout happens while sending message to microservice:
The /var/log/vmware/applmgmt/update_microservice.log file contains errors similar to the following:
YYYY-MM-DD HH:MM:SS - 23088 - update_functions target ::-- waitretry 1 -- connect-timeout 10 -r -np -nH -nd -A -P /storage/seat/software-update 4ftl1ri/stage https://dl.broadcom.com/#####################/PROD/COMP/VCENTER/vmw/#####################/8.0.3.00600/package-pool/010cbb2b1373b111b91e0d827a4423df0499fe206404022b92ca81add4eae3d7.blob
YYYY-MM-DD HH:MM:SS - 23088 - update_functions target :::35:32 -- https://dl.broadcom. com/#####################/PROD/COMP/VCENTER/vmw/#####################/8.0.3.00600/package-pool/010cb2b1373b111b91e0d827a4423df0499fe206404022b92ca81add4eae3d7.blob\nResolving dl.broadcom.com ... , [IP_ADDRESS], [IPV6_ADDRESS]\n Connecting to dl.broadcom.com|[IP_ADDRESS]| :443 ... connected. \nHTTP request sent, awaiting response ... \n HTTP/1.1 403 Forbidden\n Date: YYYY-MM-DD HH:MM:SS GMT\n Content-Type: text/plain; charset=UTF-8\n Content-Length: 12\n Connection: keep-alive\nServer: cloudflare\nYYYY-MM-DD HH:MM:SS ERROR 403: Forbidden. \n\n'ERROR - Exception staging containers
Clean up the update state with the below steps and retry the update with a valid token:
rm /storage/db/patching.dbcat /storage/core/software-update/stage/stageDir.jsonrm -rf /storage/<subdir>/software-update####rm -rf /storage/core/software-update/stage/stageDir.jsonrm /etc/applmgmt/appliance/software_update_state.conf