VCF upgrade fails with "Retrieving update patches bundles failed. Unable to retrieve aggregated LCM bundles: Cannot set properties of undefined. (Setting 'UngradeStatus')"
search cancel

VCF upgrade fails with "Retrieving update patches bundles failed. Unable to retrieve aggregated LCM bundles: Cannot set properties of undefined. (Setting 'UngradeStatus')"

book

Article ID: 403047

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • VCF upgrades from 4.4 or 4.5 to 5.2.1 failed with the error:

    Retrieving update patches bundles failed. Unable to retrieve aggregated LCM bundles: Cannot set properties of undefined. (Setting 'UngradeStatus')

  • SDDC Manager has been upgraded successfully.
  • In the /var/log/vmware/vcf/lcm/lcm.log:

    YYYY-MM-DDTHH:MM:SS.395+0000 ERROR [vcf_lcm] [c.v.e.s.l.s.i.SkipUpgradeVerifierImpl,http-nio-127.0.0.1-7400-exec-5] One or more bundles [
      {
        "bundleId": "4aac682c-ecf1-4828-acf8-1ceb466c2f9f",
        "bundleType": "VMWARE_SOFTWARE",
        "productVersion": "5.2.1.0",
        "isDriftBundle": false,
        "bundleVendor": "VMware"
      },
      {
        "bundleId": "1c145a20-1f19-4393-bec3-b424d12245b5",
        "bundleType": "VMWARE_SOFTWARE",
        "productVersion": "5.2.1.0",
        "isDriftBundle": false,
        "bundleVendor": "VMware"
      }
    ] require download for the SDDC Manager skip upgrade
    YYYY-MM-DDTHH:MM:SS.408+0000 ERROR [vcf_lcm] [c.v.v.l.r.a.c.v.u.UpgradeController,http-nio-127.0.0.1-7400-exec-5] Scheduling Upgrade Failed
    com.vmware.evo.sddc.lcm.model.error.LcmException: One or more bundles require download for the upgrade: [5.2.1.0]

    Note: The bundle can be get from bundleId in VMware Cloud Foundation - Upgrade Bundle Details

Environment

VMware Cloud Foundation 5.2.1

Cause

Some bundles of VCF 5.2.1 have not been downloaded and available in SDDC Manager even through these bundles type is PATCH. It is necessary to download all bundles. 

Resolution

To resolve the issue:

  1. Verify if all the bundles of VCF 5.2.1 have been downloaded in Bundle Management of SDDC Manager. The bundles of each version can been seen from VMware Cloud Foundation - Upgrade Bundle Details
  2. If some bundles are not downloaded yet, download it from SDDC Manager if it can connect to internet or using OBTU if it is unable to connect to internet. See Using the Offline Bundle Transfer Utility for Disconnected VMware Cloud Foundation Sites

    NOTE: the bundle-130870 of NSX_ALB is not necessary to download for the VCF upgrade from 4.4 / 4.5 to 5.2.1
  3. After all bundles are downloaded and available in SDDC Manager, rerun the upgrade again.