SDDC Manager upgrade from 5.2.1.1 to 5.2.2.0 fails with the error "One or more bundles require download for the upgrade"
search cancel

SDDC Manager upgrade from 5.2.1.1 to 5.2.2.0 fails with the error "One or more bundles require download for the upgrade"

book

Article ID: 428294

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When trying to upgrade the SDDC manager from 5.2.1.1 to 5.2.2.0 it is failing with the error : "One or more bundles require download for the upgrade" .

/var/log/vmware/vcf/lcm/lcm.log 

YYYY-MM-DDT07:09:06.640+0000 ERROR [vcf_lcm,#######,####] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7400-exec-3] [FHOA9N] UPGRADE_BUNDLE_DOWNLOAD_REQUIRED One or more bundles require download for the upgrade: {0}
com.vmware.evo.sddc.common.core.error.FailedDependencyException: One or more bundles require download for the upgrade: {0}

Caused by: com.vmware.evo.sddc.lcm.model.error.LcmException: One or more bundles require download for the upgrade: 5.2.2.0=[bb0ff1fa-057a-44ef-8c18-896ee24d508c]
        at com.vmware.evo.sddc.lcm.services.impl.SkipUpgradeVerifierImpl.verifyRequiredBundles(SkipUpgradeVerifierImpl.java:195)
        at com.vmware.evo.sddc.lcm.services.impl.SkipUpgradeVerifierImpl.validateSkipUpgradeRequest(SkipUpgradeVerifierImpl.java:144)
        at com.vmware.evo.sddc.lcm.services.impl.UpgradeServiceImpl.validateUpgradeSpec(UpgradeServiceImpl.java:348)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:699)
        at com.vmware.evo.sddc.lcm.services.impl.UpgradeServiceImpl$$SpringCGLIB$$0.validateUpgradeSpec(<generated>)
        at com.vmware.vcf.lcm.rest.api.controller.v1.upgrade.UpgradeController.performUpgrade(UpgradeController.java:64)
        ... 152 common frames omitted

Environment

VCF 5.x

Cause

This is an expected behavior as per current product design.

Resolution

If Offline method is being used ,

  • Download the bundle on a different server using the below commands

# wget https://dl.broadcom.com:443/token/PROD/COMP/SDDC_MANAGER_VCF/bundles/bundle-226653.tar -P /nfs/vmware/vcf/nfs-mount/OfflineSideLoad 


# wget https://dl.broadcom.com:443/token/PROD/COMP/SDDC_MANAGER_VCF/manifests/bundle-226653.manifest -P /nfs/vmware/vcf/nfs-mount/OfflineSideLoad


# wget https://dl.broadcom.com:443/token/PROD/COMP/SDDC_MANAGER_VCF/manifests/bundle-226653.manifest.sig -P /nfs/vmware/vcf/nfs-mount/OfflineSideLoad

  • Replace the token in the above commands with your generated token from the Broadcom Support Portal.
  • Once the above files are downloaded upload them to the SDDC manager (any folder) using winscp.
  • Once they are uploaded then use the below command to upload the files to LCM.

# curl -X POST http://127.0.0.1/lcm/bundle/upload -d '{"bundle":"/nfs/vmware/vcf/nfs-mount/OfflineSideLoad/bundle-226653.tar","manifest":"/nfs/vmware/vcf/nfs-mount/OfflineSideLoad/bundle-226653.manifest","signature":"/nfs/vmware/vcf/nfs-mount/OfflineSideLoad/bundle-226653.manifest.sig"}' -H 'Content-Type:application/json'

Additional Information

To get the bundle id use the below KB 

VMware Cloud Foundation - Upgrade Bundle Details