Description of problem: Create pod with sriov type, when the pod is deleted. found the cluster:network_attachment_definition_instances:max{networks="sriov"} is '-1' Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2019-11-13-233341 How reproducible: always Steps to Reproduce: 1. Create pod with sriov type 2. Check the value of 'cluster:network_attachment_definition_instances:max{networks="sriov"}' 3. Delete the pod 4. Found the 'cluster:network_attachment_definition_instances:max{networks="sriov"}' is -1 Actual results: Expected results: Additional info:
It looks like -1 count also appear with macvlan pod commented here: https://bugzilla.redhat.com/show_bug.cgi?id=1770387#c3 @Aneesh, do you think the fix in BZ1770387 can also fix this issue?
Yes, fix in BZ1770387 can also fix this issue Fixed with the following the merge https://github.com/openshift/multus-admission-controller/pull/20 https://github.com/openshift/multus-admission-controller/pull/19
Changes are merged.
Verfied this bug on 4.3.0-0.nightly-2019-12-09-234911
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, 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/RHBA-2020:0062