Symptoms
When integrated with API Connect, Event Gateway pods fail after upgrading Event Endpoint Management to 11.1.0. The Event 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'}
Causes
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:
- Log in to your Kubernetes cluster as a cluster administrator by setting your
kubectl
context. -
Ensure you are in the namespace where your Event Endpoint Management instance is installed:
kubectl config set-context --current --namespace=<namespace>
-
Run the following command to display the Event Endpoint Management instances:
kubectl get eventendpointmanagement
-
Remove the
opt/storage/APIC
directory:rm -rf opt/storage/APIC
-
Run the following command to delete your Event Manager pod:
kubectl delete pod <pod-name> -n <namespace>
The MissingElementException
error is resolved when the pod restarts.