Bug 2107578

Summary: Power VS machine Processor is always defaulted to 0.5
Product: OpenShift Container Platform Reporter: Karthik K N <kabhat>
Component: Cloud ComputeAssignee: Karthik K N <kabhat>
Cloud Compute sub component: Other Providers QA Contact: pdsilva
Status: CLOSED ERRATA Docs Contact: Jeana Routh <jrouth>
Severity: medium    
Priority: medium CC: jrouth, mimccune, mkumatag
Version: 4.12   
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
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*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:52:40 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:
Bug Depends On:    
Bug Blocks: 2109193    

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