"Error copying packages" error while staging the ESXi/vCenter patch using lifecycle manager with Token based URL
search cancel

"Error copying packages" error while staging the ESXi/vCenter patch using lifecycle manager with Token based URL

book

Article ID: 400225

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Cannot download VIB: ''. This might be because of network issues or the specified VIB does NOT exist or does NOT have a proper 'read' privilege set. Please make sure the specified VIB exists and is accessible from vCenter Server

  • vCenter is showing the "Error copying packages" while patching vCenter:

  • Customer having valid license to 8.x and 7.x, Downloaded token seems to be active but still the downloaded token shows "Not Entitled" when we check with the URL

Environment

vSphere vCenter Server 7.x
vSphere vCenter Server 8.x

Cause

  • In the vCenter Server logging (vum-server.log, update_microservice.log or imageservice.log depending on whether using baselines or images, respectively), the staging failure shows an error to download a VIB.

/var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server-#.log

YYYY-MM-DDTHH:MM:SS.016Z info vmware-vum-server[#####] [Originator@#### sub=VciStageTask.StageTask{##}] [vciTaskBase ####] SerializeToVimFault fault:`  
`--> (integrity.fault.HostPatchVibDownloadFailure) {`  
`-->    faultCause = (vmodl.MethodFault) null,`  
`-->    faultMessage = (vmodl.LocalizableMessage) [`  
`-->       (vmodl.LocalizableMessage) {`  
`-->          key = "fault.HostPatchVibDownloadFailure.summary",`  
`-->          arg = <unset>,`  
`-->          message = <unset>`  
`-->       }`  
`-->    ],`  
`-->    vibs = ""`  
`-->    msg = "Failed to download 1 vib: https://dl.broadcom.com/<yourAuthenticationTokenHere>/PROD/COMP/ESX_HOST/vmtools-main/vmtools/vmw/vib20/vibDir/vibnameHere.vib

  • Copy the full URL from that error including the VIB name and paste it into your browser, the message "Not Entitled" is received. 
  • No longer active site ID has chosen to generate the download token but token generator makes you think its still active and able to download the token's but they show "Not Entitled" if we check with the URL


    /var/log/vmware/applmgmt/update_microservice.log

YYYY-MM-DDTHH:MM:SS,339 - 38697 -     update_functions::                      __init__: 687 -    DEBUG - Running /usr/bin/wget --server-response --tries 3 --waitretry 1 --connect-timeout 10 -P /storage/seat/software-updatefc8yauow/stage https://dl.broadcom.com/#####################3nDeq/PROD/COMP/VCENTER/vmw
/8d167796-34d5-4899-be0a-#########/#.#.#.####/package-pool/VMware-Postgres-upgrade-#########.rpm
YYYY-MM-DDTHH:MM:SS,230 - 38697 -     update_functions::      runCommandAndCheckResult: 373 -    DEBUG - runCommandAndCheckResult failed: '--2025-09-30 14:05:12--  https://dl.broadcom.com/#####################3nDeq/PROD/COMP/VCENTER/vmw/8d167796-34d5-4899-be0a-########/7.0.3.02500/package-pool/VMware-Postgres-upgrade-###########.x86_64.rpm
Resolving dl.broadcom.com... ##.##.##.##,##.##.##.##
Connecting to dl.broadcom.com|##.##.##.##|:443... connected.
HTTP request sent, awaiting response...
 HTTP/1.1 500 Internal Server Error
 Date: Day, ## Mon YYYY TT:HH:MM GMT
 Content-Type: text/htm
l; charset=UTF-8
 Content-Length: 4313
 Connection: keep-alive
 Vary: Accept-Encoding
 Strict-Transport-Security: max-age=31536000; includeSubDomains
 X-Frame-Options: SAMEORIGIN
 Referrer-Policy: same-origin
 Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-c
heck=0
 Expires: Day, ## Mon YYYY 00:00:01 GMT
 Server: cloud#####
 CF-RAY: 98744616adf17d4e-LAX
YYYY-MM-DDTHH:MM:SS ERROR 500: Internal Server Error.
YYYY-MM-DDTHH:MM:SS,231 - 38697 -          dbfunctions::                    executeDML:  54 -    DEBUG - Executing Query {UPDATE meta SET _isdownloaded = 0,         _downloadendtime = DATETIME('now')         WHERE _name = ? } with parameters ('VMware-Postgres-upgrade-10-13.16.0-24360506.x86_64.rpm',)
YYYY-MM-DDTHH:MM:SS,235 - 38697 -         rpmfunctions::                   downloadRpm: 636 -    ERROR - {'id': 'com.vmware.appliance.update.download_failed', 'default_message': 'Download failed', 'args': []}

Resolution

  • Getting a "Not Entitled" or 500 Internal Server Error means your chosen site doesn't have the right licenses for what you're trying to download.
  • No longer active site ID chosen to generate the tokens here, using the active Site ID resolved the issue.

 

Additional Information

  • Here's how to fix "Not Entitled" issues:

    1. License Version Mismatch

    This happens if your license keys in the Broadcom support portal are for a different version than the software you want.

    • Want V7 but have V8 keys? You need to downgrade your V8 keys to V7.
    • Want V8 but have V7 keys? You need to upgrade your V7 keys to V8.

    Refer to Upgrade and Downgrade VMware License Keys via the Broadcom support portal

    2. Wrong Site ID Chosen

    If you have several site IDs, you might have picked one that doesn't have licenses for that product/version.

    What to do: While generating the token, Make sure you select the correct site ID that has the active licenses for the software you need.

    3. File a non-technical support request to the Global Customer Assistance (GCA) team for help resolving the portal issue.