Event Gateway pods fail after upgrading with MissingElementException error


When integrated with IBM API Connect, Event Gateway pods fail after upgrading Event Endpoint Management to 11.1.0. The Event Endpoint Management Manager logs display the following MissingElementException error:

ERROR com.ibm.ei.data.core.AdminManager - [lambda$getOrganization$101:574]
com.ibm.ei.core.utils.MissingElementException: MissingElementException{path='contact'}


The Subscription data that is created by using API Connect is not migrated as expected when upgrading your Event Endpoint Management instance.

Resolving the problem

To resolve the problem, complete the following steps:

  1. Log in to your Kubernetes cluster as a cluster administrator by setting your kubectl context.
  2. Ensure you are in the namespace where your Event Endpoint Management instance is installed:

    kubectl config set-context --current --namespace=<namespace>
  3. Run the following command to display the Event Endpoint Management instances:

    kubectl get eventendpointmanagement
  4. Remove the opt/storage/APIC directory:

    rm -rf opt/storage/APIC
  5. Run the following command to delete your Event Endpoint Management Manager pod:

    kubectl delete pod <pod-name> -n <namespace>

The MissingElementException error is resolved when the pod restarts.