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

Bug 2108222

Summary: Missing spec.cpu.offlined field in v1 API
Product: OpenShift Container Platform Reporter: Mario Fernández <mariofer>
Component: Performance Addon OperatorAssignee: Martin Sivák <msivak>
Status: CLOSED ERRATA QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11CC: shajmakh
Target Milestone: ---   
Target Release: 4.12.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: 2023-01-17 19:53:01 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 Mario Fernández 2022-07-18 15:54:37 UTC
Description of problem:
Missing spec.cpu.offlined field in v1 API

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


How reproducible:
100%


Steps to Reproduce:
1. Apply performanceProfile with offlined field in v1.

Actual results:
It fails

Expected results:
set cpus to offline

Additional info:

Comment 1 Shereen Haj Makhoul 2022-10-05 08:25:18 UTC
Verification:

OCP version: 4.12.0-0.nightly-2022-09-28-204419


# oc get crd performanceprofiles.performance.openshift.io -o yaml 
  versions:
  - deprecated: true
    deprecationWarning: v1 is deprecated and should be removed in next three releases,
      use v2 instead
    name: v1
    schema:
      openAPIV3Schema:
               [...]
              cpu:
                description: CPU defines a set of CPU related parameters.
                properties:
                   [...]
                  isolated:
                     [...]
                  offlined:
                    description: Offline defines a set of CPUs that will be unused
                      and set offline
                    type: string
                  reserved:
                      [...]

Comment 4 errata-xmlrpc 2023-01-17 19:53:01 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 (Moderate: OpenShift Container Platform 4.12.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:7399