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

Bug 2069612

Summary: Special Resource Operator (SRO) - Crash when nodeSelector does not match any nodes
Product: OpenShift Container Platform Reporter: Pablo Acevedo <pacevedo>
Component: Special Resource OperatorAssignee: Brett Thurber <bthurber>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: high Docs Contact:
Priority: high    
Version: 4.11CC: aos-bugs
Target Milestone: ---   
Target Release: 4.11.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: 2022-08-10 11:02:32 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 Pablo Acevedo 2022-03-29 08:46:52 UTC
Description of problem:
When using a nodeSelector in the spec section of the SpecialResource, if there are no matching nodes SRO enters a crash loop.

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


How reproducible:
Use non-matching labels in the nodeSelector section of SpecialResource.spec


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Udi Kalifon 2022-04-21 13:31:32 UTC
Verified on 4.10.9. No error message is logged anywhere but if you look at the daemonset you can easily see that the selector is wrong and figure out from there that the driver won't get built. When fixing the templates and updating the configmap things run again.

Comment 4 errata-xmlrpc 2022-08-10 11:02:32 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069