Upgrade to 11.1.5 stuck in pending state

Symptoms

Upgrade to Event Streams 11.1.5 is blocked in pending state with a message similar to the following:

InstallComponentFailed risk of data loss updating "kafkamirrormaker2s.eventstreams.ibm.com": new CRD removes version v1alpha1 that is listed as a stored version on the existing CRD

Causes

Some API versions in Custom Resource Definitions (CRDs) are missing in Event Streams 11.1.5. The Operator Lifecycle Manager (OLM) checks whether all the previously stored API Versions in the CRDs are present before starting the upgrade process. Because the prerequisite is not met, the upgrade process is stuck in a pending state.

Resolving the problem

To resolve the issue, ensure your catalog source is updated to the latest version, and then manually upgrade your Event Streams operator to 3.1.6. To manually upgrade your operator, complete the following steps:

  1. Check to see that your catalog source for the Event Streams operator has pulled the latest version, 3.1.6. You can verify this in the Openshift web console by navigating to the OperatorHub, clicking the Event Streams operator tile, and checking the value in Latest version.
  2. Uninstall any previous versions of the Event Streams operator.
  3. Install the Event Streams operator 3.1.6.
  4. Wait for the operator pod to be ready and it will upgrade your Event Streams instance to 11.1.6.