When trying to deploy NSX Advanced Load balancer, after selecting the version the NEXT button is greyed out and we get the following error -
"Something went wrong. Please retry or contact the service provider and provide the reference token."
VCF 5.x
When SDDC Manager checks the compatibility for the Advanced Load Balancer bundle we see the following in the logs -
domainmanager.log:
2024-11-15T10:24:25.095+0000 ERROR [vcf_dm,0000000000000000,0000] [o.a.c.c.C.[.[.[.[dispatcherServlet],http-nio-127.0.0.1-7200-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [/domainmanager] threw exception [Request processing failed: java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "com.vmware.vcf.compatibility.controllers.internal.vvs.rest.model.Product.getReleases()" is null] with root cause
java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "com.vmware.vcf.compatibility.controllers.internal.vvs.rest.model.Product.getReleases()" is null
at
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.imageCompatibilityCheck(ALBClusterValidator.java:444)
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.imageCompatibilityCheckValidation(ALBClusterValidator.java:488)
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.validateImageVersion(ALBClusterValidator.java:510)
at com.vmware.vcf.nsxalbmanager.controller.v1.NsxALBClusterController.validateVersion(NsxALBClusterController.java:244)
at jdk.internal.reflect.GeneratedMethodAccessor880.invoke(Unknown Source)
[..]
2024-11-15T10:24:25.102+0000 ERROR [vcf_dm,67372159ed2888fda10a6c74826da8c1,da0b] [c.v.e.s.e.h.VcfFallbackErrorController,http-nio-127.0.0.1-7200-exec-5] [547R7S] - Error attributes: {timestamp=Fri Nov 15 10:24:25 UTC 2024, status=500, error=Internal Server Error, exception=java.lang.NullPointerException, trace=java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "com.vmware.vcf.compatibility.controllers.internal.vvs.rest.model.Product.getReleases()" is null
at com.vmware.vcf.compatibility.translators.internal.vxrail.VxrailControllerTranslator.getProductVersionsMissingFromCompatibilityData(VxrailControllerTranslator.java:445)
at com.vmware.vcf.compatibility.translators.internal.vxrail.VxrailControllerTranslator.getProductVersionsMissingFromCompatibilityData(VxrailControllerTranslator.java:34)
at com.vmware.vcf.compatibility.validator.internal.CompatibilityControllerAggregator.getAllCompatibleProductVersions(CompatibilityControllerAggregator.java:207)
at com.vmware.vcf.compatibility.validator.internal.service.CompatibilityValidatorServiceImpl.getAllCompatibleProductVersions(CompatibilityValidatorServiceImpl.java:189)
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.imageCompatibilityCheck(ALBClusterValidator.java:444)
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.imageCompatibilityCheckValidation(ALBClusterValidator.java:488)
at com.vmware.vcf.nsxalbmanager.controller.v1.validation.ALBClusterValidator.validateImageVersion(ALBClusterValidator.java:510)
at com.vmware.vcf.nsxalbmanager.controller.v1.NsxALBClusterController.validateVersion(NsxALBClusterController.java:244)
at jdk.internal.reflect.GeneratedMethodAccessor880.invoke(Unknown Source)
As a result of the above the bundle gets marked as "bundletoignore" in lcm.log and the NEXT button shows greyed out
The Upgrade Compatibility checks can be disabled using the steps below to allow the Deploy to continue - take a snapshot of the SDDC Manager as a precaution when editing configuration files
To disable the upgrade compatibility checks, follow the steps below:
/opt/vmware/vcf/lcm/lcm-app/conf/compatibility.flag
vcf.compatibility.controllers.compatibilityCheckEnabled
to false
systemctl restart lcm
Note: Re-enable the compatibility checks once the upgrades are complete to ensure guardrails are in place with respect to Bill-of-Materials compatibility for future upgrades
To re-enable the compatibility checks, follow the steps below:
/opt/vmware/vcf/lcm/lcm-app/conf/compatibility.flag
vcf.compatibility.controllers.compatibilityCheckEnabled
to true
systemctl restart lcm