Bug 1905362 - [sriov] Error message 'Fail to update DaemonSet' always shown in sriov operator pod
Summary: [sriov] Error message 'Fail to update DaemonSet' always shown in sriov operat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-08 07:01 UTC by zhaozhanqi
Modified: 2021-02-24 15:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:41:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 450 0 None closed Bug 1905362: Sync upstream 2021-01-05 04:05:44 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:41:29 UTC

Description zhaozhanqi 2020-12-08 07:01:55 UTC
Description of problem:

Found the following error message in sriov operator pod:

20/12/08 06:39:57 reconciling (apps/v1, Kind=DaemonSet) openshift-sriov-network-operator/sriov-network-config-daemon
2020/12/08 06:39:57 update was successful
2020-12-08T06:39:57.556Z	INFO	controllers.SriovOperatorConfig.syncConfigDaemonset	Start to sync SRIOV plugin daemonsets nodeSelector
2020-12-08T06:39:57.566Z	INFO	controllers.SriovNetworkNodePolicy	Reconciling	{"sriovnetworknodepolicy": "openshift-sriov-network-operator/default"}
2020-12-08T06:39:57.566Z	INFO	controllers.SriovNetworkNodePolicy.syncDevicePluginConfigMap	Start to sync device plugin ConfigMap
2020-12-08T06:39:57.566Z	INFO	SriovNetworkNodePolicyController.renderDevicePluginConfigData	Start to render device plugin config data
2020-12-08T06:39:57.566Z	INFO	controllers.SriovNetworkNodePolicy.syncDevicePluginConfigMap	ConfigMap already exists, updating
2020-12-08T06:39:57.572Z	INFO	controllers.SriovNetworkNodePolicy.syncPluginDaemonObjs	Start to sync sriov daemons objects
2020-12-08T06:39:57.581Z	ERROR	controllers.SriovNetworkNodePolicy.tryDeleteDsPods	Fail to update DaemonSet	{"Namespace": "openshift-sriov-network-operator", "Name": "sriov-device-plugin", "error": "Operation cannot be fulfilled on daemonsets.apps \"sriov-device-plugin\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/src/github.com/openshift/sriov-network-operator/vendor/github.com/go-logr/zapr/zapr.go:132
github.com/openshift/sriov-network-operator/controllers.(*SriovNetworkNodePolicyReconciler).tryDeleteDsPods
	/go/src/github.com/openshift/sriov-network-operator/controllers/sriovnetworknodepolicy_controller.go:392
github.com/openshift/sriov-network-operator/controllers.(*SriovNetworkNodePolicyReconciler).syncPluginDaemonObjs
	/go/src/github.com/openshift/sriov-network-operator/controllers/sriovnetworknodepolicy_controller.go:318
github.com/openshift/sriov-network-operator/controllers.(*SriovNetworkNodePolicyReconciler).Reconcile
	/go/src/github.com/openshift/sriov-network-operator/controllers/sriovnetworknodepolicy_controller.go:134
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/src/github.com/openshift/sriov-network-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/src/github.com/openshift/sriov-network-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:209
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/go/src/github.com/openshift/sriov-network-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:188
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
	/go/src/github.com/openshift/sriov-network-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155
k8s.io/apimachinery/pkg/util/wait.BackoffUntil
	/go/src/github.com/openshift/sriov-network-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/src/github.com/openshift/sriov-network-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
k8s.io/apimachinery/pkg/util/wait.Until
	/go/src/github.com/openshift/sriov-network-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:90
2020-12-08T06:39:57.583Z	INFO	controllers.SriovOperatorConfig.syncOffloadMachineConfig	Start to render MachineConfig and MachineConfigPool for OVS HW offloading
2020-12-08T06:39:57.588Z	INFO	controllers.SriovOperatorConfig	Reconciling SriovOperatorConfig	{"sriovoperatorconfig": "openshift-sriov-network-operator/default"}
2020-12-08T06:39:57.589Z	INFO	controllers.SriovOperatorConfig.syncWebhookObjs	Start to sync webhook objects
2020-12-08T06:39:57.591Z	INFO	controllers.SriovNetworkNodePolicy.syncAllSriovNetworkNodeStates	Start to sync all SriovNetworkNodeState custom resource
2020-12-08T06:39:57.591Z	INFO	controllers.SriovNetworkNodePolicy.syncAllSriovNetworkNodeStates	Sync SriovNetworkNodeState CR	{"name": "dell-per740-14.rhts.eng.pek2.redhat.com"}
2020-12-08T06:39:57.591Z	INFO	controllers.SriovNetworkNodePolicy.syncAllSriovNetworkNodeStates	SriovNetworkNodeState CR	{"content": "eyJtZXRhZGF0YSI6eyJuYW1lIjoiZGVsbC1wZXI3NDAtMTQucmh0cy5lbmcucGVrMi5yZWRoYXQuY29tIiwibmFtZXNwYWNlIjoib3BlbnNoaWZ0LXNyaW92LW5ldHdvcmstb3BlcmF0b3IiLCJjcmVhdGlvblRpbWVzdGFtcCI6bnVsbH0sInNwZWMiOnt9LCJzdGF0dXMiOnt9fQ=="}
2020-12-08T06:39:57.591Z	INFO	controllers.SriovNetworkNodePolicy.syncSriovNetworkNodeState	Start to sync SriovNetworkNodeState	{"Name": "dell-per740-14.rhts.eng.pek2.redhat.com", "cksum": "194154"}

Version-Release number of selected component (if applicable):
4.7.0-202012050820.p0

How reproducible:


Steps to Reproduce:
1. Did some testing (like create sriov policy) and then delete
2. Check the sriov operator pod logs 
3.

Actual results:


Expected results:


Additional info:

Comment 2 zhaozhanqi 2021-01-06 09:40:06 UTC
this issue did not be found on 4.7.0-202101051754.p0, move this bug to verified.

Comment 5 errata-xmlrpc 2021-02-24 15:41:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.