IBM Support

Helm upgrade fails with an error "Secret "sh.helm.release.v1.b2b-dev-b2bi.v40" is invalid: data: Too long: must have at most 1048576 bytes" error

Troubleshooting


Problem

Upgrade of IBM Sterling B2B Integrator Red Hat Openshift Certified Container Platform fails with an error:
 "Secret "sh.helm.release.v1.b2b-dev-b2bi.v40" is invalid: data: Too long: must have at most 1048576 bytes".

Symptom

Helm upgrade fails with an error:
Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.b2b-dev-b2bi.v40" is invalid: data: Too long: must have at most 1048576 bytes

Cause

The root cause was the Helm Charts directory contained many unwanted files (multiple backup versions, unwanted directories).

Environment

SI Build Number: 6010000
FixVersion: 6010004
IBM Sterling B2B Integrator installation on Red Hat Openshift Certified Container platform.

Resolving The Problem

To resolve an issue, downloaded helm chart for IBM Sterling B2B Integrator and compared the contents of customer's helm charts directory to the newly downloaded chart.
Removed unwanted directories and unwanted files.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000CjrNAAS","label":"Installation->Upgrade"}],"ARM Case Number":"TS007864890","Platform":[{"code":"PF040","label":"Red Hat OpenShift"}],"Version":"6.1.0"}]

Document Information

Modified date:
14 February 2022

UID

ibm16556462