Description of problem: When deleting a SpecialResource - the DaemonSet and the driver's pod are removed, but the node labels are not updated that the capability is removed. Version-Release number of selected component (if applicable): OCP 4.9.4 How reproducible: 100% Steps to Reproduce: 1. In a cluster with SRO and NFD, deploy the simple-kmod SpecialResource according to https://docs.openshift.com/container-platform/4.9/hardware_enablement/psap-special-resource-operator.html#deploy-simple-kmod-using-configmap-chart 2. See that the nodes get the labels: specialresource.openshift.io/state-simple-kmod-0000=Ready specialresource.openshift.io/state-simple-kmod-1000=Ready 3. Also see that there is a DaemonSet and a pod for the driver in the simple-kmod namespace 4. Delete the SpecialResource: oc delete specialresource/simple-kmod Actual results: The DaemonSet and the pod(s) are gone, but the node(s) still carry the labels even though they would not have this capability now. Expected results: The labels that NFD added should also be removed
You need to manually delete the node labels, or set a finalizer on SRO to do so
@bthurber @Udi this is not a bug on NFD, please see Comment 2. Please close this BZ. thanks
This issue was actually a bug , and it was fixed by https://issues.redhat.com/browse/MGMT-8394
Is there a PR associated with the fix that we can add to this BZ ?
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.10.3 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-2022:0056