Bug 1837241 - OCP4.4.z backport - Issue with memoryMB validation
Summary: OCP4.4.z backport - Issue with memoryMB validation
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.4.z
Assignee: Roy Golan
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On: 1837239
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-19 07:20 UTC by Jan Zmeskal
Modified: 2023-09-14 06:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1837239
Environment:
Last Closed: 2020-08-03 15:09:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Zmeskal 2020-05-19 07:20:21 UTC
+++ This bug was initially created as a clone of Bug #1837239 +++

Description of problem:
Some validations for OpenShift on RHV nodes don't seem to be working as expected. Namely they are:
- memory of VM
- VM type

For more info, see here: https://bugzilla.redhat.com/show_bug.cgi?id=1820300#c9

Version-Release number of the following components:
openshift-install-linux-4.5.0-0.nightly-2020-05-18-043243

How reproducible:
100 %

Steps to Reproduce:
1. openshift install create install-config
2. Set value of VM's memory to 0
3. Set VM type to an arbitrary string that's neither "desktop", "server" or "high_performance"

Actual results:
Installer accepts both of these customization

Expected results:
Installer should fail early with a helpful error message

Comment 1 Jan Zmeskal 2020-05-20 12:58:19 UTC
Update: I found out that the VM type attribute works as expected. So the only verification required here is to check that memoryMB attribute does not take value of zero or lower.

Comment 4 Sandro Bonazzola 2020-06-18 06:51:29 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 6 Jan Zmeskal 2020-08-03 15:09:10 UTC
Closing as 4.4.z is approaching end of life cycle and this issue is not so important to require backport in the first place.

Comment 7 Red Hat Bugzilla 2023-09-14 06:00:29 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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