IBM Support

The lifecycle operator fails to create or correctly configure FlinkDeployment aiops-ir-lifecycle-flink

Flashes (Alerts)


Abstract

Lifecycle flink deployment does not come up after following the steps mentioned in the below document to troubleshoot "No alert or incident created when an event is sent".

https://www.ibm.com/docs/en/cloud-paks/cloud-pak-aiops/4.9.0?topic=troubleshooting-alert-management#43901

Flink deployment will not come up especially after one tries to reset the lifecycle engine using the below command

waiops-mustgather.sh -DR -C clear-lifecycle-state.sh

Content

The lifecycle operator can encounter an error when setting up secret aiops-ir-lifecycle-eventprocessor-ep-ca-certs which prevents it from creating or correctly configuring FlinkDeployment aiops-ir-lifecycle-flink. The error "resourceVersion should not be set on objects to be created" can be found in the operator logs. 
Use the following command to check this, if there is any output this error has been encountered and workaround should be applied.
oc logs $(oc get pod -o name -l app.kubernetes.io/instance=ir-lifecycle-operator) | grep "resourceVersion should not be set on objects to be created"
Known Issue Community Link
Workaround
Deleting the secret aiops-ir-lifecycle-eventprocessor-ep-ca-certs using the following command will allow the operator to recreate it and proceed with the creation of the FlinkDeployment.
oc delete secret aiops-ir-lifecycle-eventprocessor-ep-ca-certs -n cp4waiops

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSE9G0Q","label":"IBM Cloud Pak for AIOps"},"ARM Category":[{"code":"a8m3p000000PCISAA4","label":"Watson AIOps-\u003EAI Manager-\u003EAlert Viewer-\u003EAlerts"}],"Platform":[{"code":"PF016","label":"Linux"}],"Version":"4.9.0;4.9.1"}]

Document Information

Modified date:
13 June 2025

UID

ibm17236322