Description of problem: Now, set the logLevel can be set to -1, I0508 13:19:09.972730 39921 daemon.go:167] Set log verbose level to: -1 Version-Release number of selected component (if applicable): 4.5.0-202005061719 How reproducible: always Steps to Reproduce: 1. edit sriovoperatorconfigs to set the logLevel: -1 2. 3. Actual results: Expected results: should block user set no meaningful value for logLevel Additional info:
seems the error message is not correct. when 'set the logLevel: 3' and error message is `* spec.logLevel: Invalid value: 2`, when set to 'logLevel -3', the error message is '* spec.logLevel: Invalid value: 0'
Verified this issue on 4.5.0-202005271737 when set incorrect value. eg 3. the error message show: pec.logLevel in body should be less than or equal to 2
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:2409