"Task with id <ID>:com.vmware.vcenter.lcm.update.precheck_report not found" error during vCenter update precheck
search cancel

"Task with id <ID>:com.vmware.vcenter.lcm.update.precheck_report not found" error during vCenter update precheck

book

Article ID: 433651

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • "Task with id <ID>:com.vmware.vcenter.Icm.update.precheck_report not found" error is seen in the precheck window

  • /var/log/vmware/vlcm/vlcm.log in the vCenter shows the below log snippet

    YY-MM-DDTHH:MM:SS.000Z error vlcm [vlcmtask/precheck.go:114] [opID=######-5809-4f53-af36-########-1438] Error while generating pre check report: com.vmware.vapi.std.errors.not_found
  • /var/log/vmware/applmgmt/applmgmt.log in the vCenter shows the below log snippet

    YYYY-MM-DDTHH:MM:SS AM PST [11626]ERROR:vmware.appliance.update.update_b2b: Got exception while trying discover at URL https://dl.broadcom.com/<TOKEN>/PROD/COMP/VCENTER/vmw/8d167796-34d5-4899-be0a-6daade4005a3/8.0.3.0500: NotFound(messages=[{'id': 'com.vmware.appliance.update_error', 'default_message': '%s', 'args': ['The vCenter Server is not able to reach the specified URL. Ensure that the vCenter Server is connected to the internet, the specified URL is correct, and the latest version(s) is available on the VMware online repository. If the issue persists, please contact VMware Support.']}], data=None, error_type='NOT_FOUND') 'Traceback (most recent call last):\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_b2b.py", line 1699, in _discoverUpdateAt\n    copyFileFunc(path.join(manifestDir,\n  File  "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py", line 615, in wgetWrapper\n    runCommandAndCheckResult(\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py", line 403, in runCommandAndCheckResult\n    raise exception\nvmware.appliance.update.update_functions.LocalizableException: {\'id\': \'com.vmware.appliance.update.server_error\', \'default_message\': \'Server error at target URL\', \'args\': []}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_b2b.py", line 2047, in processURLUpdates\n    header = _discoverUpdateAtUrl(url,\'latest\', enableListMajorUpgradeVersions)\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_b2b.py", line 1915, in _discoverUpdateAtUrl\n    return _discoverUpdateAt(manifestDir, packagesDir, copyFileFunc,\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_b2b.py", line 1717, in _discoverUpdateAt\n vapiNotFound(messageListError("The vCenter Server is not able to reach the specified URL. Ensure that "\n  File "/usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py", line 170, in vapiNotFound\n raise ErrorFactory.new_not_found(messages=messages)\ncom.vmware.vapi.std.errors_provider.NotFound: {messages : [{\'id\': \'com.vmware.appliance.update_error\', \'default_message\': \'%s\', \'args\': [\'The vCenter Server is not able to reach the specified URL. Ensure that the vCenter Server is connected to the internet, the specified URL is correct, and the latest version(s) is available on the VMware online repository. If the issue persists, please contact VMware Support.\']}], data : None, error_type : NOT_FOUND}\n'

Environment

  • vCenter 8.x
  • vCenter 9.x

Cause

  • This UI issue is caused by the invalid URL in the update settings.
  • In the above log snippet, URL contains "8.0.3.0500" instead of "8.0.3.00500" (one zero is missing)

Resolution

Ensure to enter the right URL in the settings. Refer this KB for the detailed step by step instruction.

Additional Information

VCF Authenticated Downloads Token Troubleshooting Guide
vCenter Server Precheck fails with the following error: "Task with id <task-id>:com.vmware.vcenter.lcm.update.precheck_report not found"