Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1951870

Summary: sriov network resources injector: user defined injection removed existing pod annotations
Product: OpenShift Container Platform Reporter: zenghui.shi <zshi>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high    
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:02:18 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 zenghui.shi 2021-04-21 02:53:33 UTC
Description of problem:

Issue 1:

sriov network resources injector removes existing pod annotation when appending user-defined-injection to pod manifests.

Issue 2:

sriov network resources injector mutates pod manifests according to user-defined-injections in configMap, when configMap is deleted, it is expected that resources injector will not inject previous defined injections to pod manifest, but resources injector doesn't clean up its internal structure which results in previous defined injections be always injected.

Issues reported upstream:

https://github.com/k8snetworkplumbingwg/network-resources-injector/issues/88
https://github.com/k8snetworkplumbingwg/network-resources-injector/issues/86

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 zhaozhanqi 2021-04-22 10:15:45 UTC
Verified this bug on 4.8.0-202104211539.p0

Comment 5 errata-xmlrpc 2021-07-27 23:02:18 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.8.2 bug fix and security 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-2021:2438