Bug 1890509

Summary: kataconfig update fails, "Operation cannot be fulfilled"
Product: OpenShift Container Platform Reporter: Jens Freimann <jfreiman>
Component: sandboxed-containersAssignee: Jens Freimann <jfreiman>
Status: CLOSED NOTABUG QA Contact: Cameron Meadors <cmeadors>
Severity: low Docs Contact:
Priority: medium    
Version: 4.6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 08:20:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Freimann 2020-10-22 12:26:09 UTC
Description of problem:

When updating the kataconfig object sometimes we get conflicts like this:

{"level":"error","ts":1603301779.7295103,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kataconfig-controller","request":"/example-kataconfig","error":"Operation cannot be fulfilled on kataconfigs.kataconfiguration.openshift.io \"example-kataconfig\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/jfreiman/go/pkg/mod/github.com/go-logr/zapr.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/jfreiman/go/pkg/mod/sigs.k8s.io/controller-runtime.0/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jfreiman/go/pkg/mod/sigs.k8s.io/controller-runtime.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/jfreiman/go/pkg/mod/sigs.k8s.io/c...


Version-Release number of selected component (if applicable):

release-4.6.0

How reproducible:

Just install the kata-operator and look into the log


Actual results:

See above error message

Expected results:

No error message

Comment 1 Cameron Meadors 2020-10-23 14:03:14 UTC
This probably wont make our 4.6 deadline.  Errors are benign and will be noted in release notes as a known issue.

Comment 3 Jens Freimann 2022-09-21 08:20:24 UTC
We fixed some of those warnings in the meantime. It's not a real bug anyway.