IBM Support

Upgrade OVA ENV to 2018.4.1.15 failed for Analytics

Troubleshooting


Problem

While upgrading OVA environment to 2018.4.1.15 Analytics upgrade is never completed, as the helm upgrade is failing.

journalctl -u appliance-manager -f output shows:

Feb 04 14:22:41 hostname apic[19457]: time="2021-02-04T14:22:41Z" level=debug msg="helm [upgrade apic-analytics /var/lib/apiconnect/subsystem/helm/apic-analytics --values=/tmp/701472419]"

Feb 04 14:22:41 hostname apic[19457]: time="2021-02-04T14:22:41Z" level=error msg="unable to get upgrade helm chart: exit status 1"

Feb 04 14:22:41 hostname apic[19457]: time="2021-02-04T14:22:41Z" level=debug msg="Error: UPGRADE FAILED: error validating \"\": error validating data: [ValidationError(DaemonSet.spec): unknown field \"serviceName\" in io.k8s.api.apps.v1.DaemonSetSpec, ValidationError(DaemonSet.spec): unknown field \"strategy\" in io.k8s.api.apps.v1.DaemonSetSpec, ValidationError(DaemonSet.spec): unknown field \"terminationGracePeriodSeconds\" in io.k8s.api.apps.v1.DaemonSetSpec, ValidationError(DaemonSet.spec): unknown field \"volumeClaimTemplates\" in io.k8s.api.apps.v1.DaemonSetSpec]\n"

Feb 04 14:22:41 hostname apic[19457]: time="2021-02-04T14:22:41Z" level=error msg="Error reconciling subsystem: unable to install subsystem: unable to upgrade release: exit status 1"

Symptom

OVA upgrade fails and is stuck trying to run the helm upgrade.

Cause

MQ is enabled in OVA.

Resolving The Problem

1. Disable message queue before upgrade.

2. Disable message queue, then redo the install:

 apicup subsys set analytics enable-message-queue false

 apicup subsys install analytics --no-verify

3. If you absolutely require message queue, then a new deploy of analytics back to 2018.4.1.13 ifix and restore of analytics data would be required.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeCAAA0","label":"API Connect->Management and Monitoring (MM)->Upgrade\/Downgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
09 February 2021

UID

ibm16413661