After applying maintenance or performing an IPL, Alert Insights (WatchTower) fails to register with the Zowe API Mediation Layer (ML). The alert-insights-api logs may display the following error:
BRSA202E Unable to connect to Zowe API Mediation Layer and register or update the service information: [SERVICE_ID]/[HOSTNAME]:[PORT]
In certain Kubernetes environments, communication between the environment and the image repository (e.g., Artifactory) requires specific authorization that may have a short expiration time. If this authorization expires, the system fails to pull container images upon restart, leading to registration failures.
Additionally, if the imagePullPolicy is not optimally configured, the system may attempt to pull images unnecessarily when they are already available locally.
Note : Resolution for this case
The problem was that Kubernetes environment requires an specific way to authorize the communication between it and Artifactory. That authorization has an short expiration time and when it restarts pulling the container images fails with an authorization error. Customer needs to look for a way to use a certificate instead. We did make sure that the Pull Policy is set to IfNotPresent.
If the issue persists, enable debug logging for the Zowe API Mediation Layer to capture detailed registration attempts:
zowe.yaml file to include: