Bug 1951870 - sriov network resources injector: user defined injection removed existing pod annotations
Summary: sriov network resources injector: user defined injection removed existing pod...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.8.0
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-21 02:53 UTC by zenghui.shi
Modified: 2021-07-27 23:02 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:02:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-dp-admission-controller pull 36 0 None open Bug 1951870: Several fixes for user defined injection 2021-04-21 02:54:32 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:02:45 UTC

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


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