Bug 2107578 - Power VS machine Processor is always defaulted to 0.5
Summary: Power VS machine Processor is always defaulted to 0.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.12
Hardware: ppc64le
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Karthik K N
QA Contact: pdsilva
Jeana Routh
URL:
Whiteboard:
Depends On:
Blocks: 2109193
TreeView+ depends on / blocked
 
Reported: 2022-07-15 12:55 UTC by Karthik K N
Modified: 2023-01-17 19:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* Previously, when creating a Power VS cluster, the installation program discarded the `Processor` value provided for the worker machines and replaced it with the default value of `0.5`. With this release, the default value is used only when a value is not specified and the Power VS machines are created with any supplied values. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2107578[*BZ#2107578*])
Clone Of:
Environment:
Last Closed: 2023-01-17 19:52:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/openshift machine-api-operator pull 1040 0 None None None 2022-07-15 12:55:39 UTC
Github openshift machine-api-operator pull 1040 0 None open BUG Fix while setting default processor value for Power VS platform 2022-07-15 12:55:39 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:52:57 UTC

Description Karthik K N 2022-07-15 12:55:39 UTC
while creating a Power VS machine irrespective of the Processor value provided its been defaulted to 0.5.

Comment 2 pdsilva 2022-09-09 07:15:38 UTC
Verified with 4.12.0-0.nightly-ppc64le-2022-09-07-045824

Successfully verified updating machine cpu and memory is reflected on the PowerVS machine.

Comment 4 Karthik K N 2022-11-24 11:54:55 UTC
Cause: Due to wrong programmatic check for Processor values the provided values were discarded and always default value of 0.5 was set for Processor.

Consequence: While creating Power VS IPI cluster the worker machines Processor values were always defaulted to 0.5 irrespective of the Processor values set.

Fix: Properly check for the Processor values and set the default values only when its not set.

Result: Now the Power VS machines will be created with whatever supplied values and will be defaulted to 0.5 if not set.

Comment 5 Michael McCune 2022-11-28 15:38:47 UTC
thanks Karthik, i added your text to the bug form

Comment 7 errata-xmlrpc 2023-01-17 19:52:40 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.