Operation cannot be fulfilled on deployments.apps the object has been modified issue
Closed this issue · 0 comments
BuddhiWathsala commented
Description:
When we deployed a SiddhiProcess custom object, it may sometimes return an error like below.
{"level":"error","ts":1563786102.7313259,"logger":"siddhi","msg":"Operation cannot be fulfilled on deployments.apps \"power-consume-app-1\": the object has been modified; please apply your changes to the latest version and try again","Request.Namespace":"default","Request.Name":"power-consume-app","error":"Operation cannot be fulfilled on deployments.apps \"power-consume-app-1\": the object has been modified; please apply your changes to the latest version and try again"
This error occurs due to this issue in controller runtime.
This error occurs due to the multiple create and update events that go to the event queue. And reconcile loop tries to execute each event even after the successful creation of the deployment.
Suggested Labels:
type/fix
Affected Product Version:
Siddhi operator 0.2.0-m1
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
kubernetes-sigs/controller-runtime#403