Error when updating vCenter in vLCM "Error copying packages"
search cancel

Error when updating vCenter in vLCM "Error copying packages"

book

Article ID: 396702

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • When trying to update a vCenter using the vLCM you get an error:

"Error copying packages"

  • Errors in /var/log/vmware/applmgmt/update_mircoservice.log indicating issues with resolving the rpm location required for the vLCM repository is seen :

YYYY-MM-DDTHH:MM:SS - 59#36 -     update_functions::      runCommandAndCheckResult: 373 -    DEBUG - runCommandAndCheckResult failed: '--YYYY-MM-DDTHH:MM:SS--  https://dl.broadcom.com/#################################/PROD/COMP/VCENTER/vmw/############/7.0.3.#####/package-pool/VMware-example-upgrade-##-##.##.#-########.x86_64.rpm\nResolving dl.broadcom.com... 172.66.0.165, 162.159.140.167\nConnecting to dl.broadcom.com|172.66.0.165|:443... connected.\nHTTP request sent, awaiting response... \n  HTTP/1.1 403 Forbidden\n  Date: Sun, DD MMM YYYY HH:MM:SS GMT\n  Content-Type: text/plain;charset=UTF-8\n  Content-Length: 12\n  Connection: keep-alive\n  Vary: Accept-Encoding\n  Strict-Transport-Security: max-age=31536000; includeSubDomains\n  Server: cloudflare\n  CF-RAY: ########## ERROR 403: Forbidden.\n\n'
YYYY-MM-DDTHH:MM:SS - 59#36 -          dbfunctions::                    executeDML:  54 -    DEBUG - Executing Query {UPDATE meta SET _isdownloaded = 0,         _downloadendtime = DATETIME('now')         WHERE _name = ? } with parameters ('VMware-example-upgrade-##-##.##.#-########.x86_64.rpm',)

YYYY-MM-DDTHH:MM:SS - 59#36 -         rpmfunctions::                   downloadRpm: 636 -    ERROR - {'id': 'com.vmware.appliance.update.download_failed', 'default_message': 'Download failed', 'args': []}
YYYY-MM-DDTHH:MM:SS - 59#36 -           update_b2b::                 _copyPackages:1030 -    ERROR - Exception: {'id': 'com.vmware.appliance.update.download_failed', 'default_message': 'Download failed', 'args': []}
YYYY-MM-DDTHH:MM:SS - 59#36 -           update_b2b::                 _copyPackages:1032 -    DEBUG - Download/Checksum failed for VMware-example-upgrade-##-##.##.#-########.x86_64.rpm. Will attempt a retry for this rpm.

Environment

  • VMware vCenter Server 7.x
  • VMware vCenter Server 8.x

Cause

This is caused by a mismatch between the vCenter version and the version of the active license that was used to generate the repository token on the VCF Customer portal.

Resolution

  • Ensure that the assigned license is compatible with your vCenter version by verifying its details under the "My Entitlements" section in the Broadcom Customer Portal.
  • Open a case with the GCA team as per the kb below for assistance with any license issues.

 

Additional Information