Created attachment 1737522 [details] sriov operator logs Description of problem: Given sriovnetwork CR is created, then net-attach-def will be created in specified namespace. When I deleted the net-attach-def by manual. Found it cannot be restored. Version-Release number of selected component (if applicable): 4.7.0-202012050820.p0 How reproducible: always Steps to Reproduce: 1. new project named z1 2. Create the following sriovnetwork CR apiVersion: sriovnetwork.openshift.io/v1 kind: SriovNetwork metadata: name: intel-netdevice-rhcos namespace: openshift-sriov-network-operator spec: ipam: | { "type": "host-local", "subnet": "10.56.217.0/24", "rangeStart": "10.56.217.171", "rangeEnd": "10.56.217.181", "routes": [{ "dst": "0.0.0.0/0" }], "gateway": "10.56.217.1" } vlan: 0 spoofChk: "on" trust: "off" resourceName: intelnetdevice networkNamespace: z1 3. Check the net-attach-def is created in z1 namespace oc get net-attach-def -n z1 4. Delete the net-attach-def in z1 oc delete net-attach-def -n z1 --all 5. Check the net-attach-def is created in z1 namespace again oc get net-attach-def -n z1 Actual results: step 5. the net-attach-def did not be recreated. Expected results: step 5. the net-attach-def should be recreated. Additional info:
Verified this bug on 4.7.0-202101051754.p0
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