Description of problem: Unable to set autoCPULimitNamespaceLabelSelector via HCO CR The only option to set it now - use the json patch annotations which is a work around, so it would be better to be able to manage autoCPULimitNamespaceLabelSelector directly in HCO CR configuration Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
verify with build: CNV-v4.14.0.rhel9-1632 step: 1. Edit HCO, add .... resourceRequirements: autoCPULimitNamespaceLabelSelector: matchLabels: autocpulimit: "true" .... saved. 2. create a namespace with label autocpulimit: "true" 3. create a vm in new namespace vm running w/o error. 4. change vmiCPUAllocationRatio to 1 and saved. Get error: Invalid value: "object": Automatic CPU limits are incompatible with a VMI CPU allocation ratio of 1 move to verified.
*** Bug 2214362 has been marked as a duplicate of this bug. ***
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 Virtualization 4.14.0 Images security and bug fix 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-2023:6817