Bug 2108222 - Missing spec.cpu.offlined field in v1 API
Summary: Missing spec.cpu.offlined field in v1 API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Performance Addon Operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Martin Sivák
QA Contact: Gowrishankar Rajaiyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-18 15:54 UTC by Mario Fernández
Modified: 2023-01-17 19:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:53:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-node-tuning-operator pull 417 0 None open Bug 2108222 - Add offlined cpus to v1 api 2022-08-05 12:17:48 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:53:15 UTC

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


Note You need to log in before you can comment on or make changes to this bug.