Bug 1841381 - Issue with memoryMB validation
Summary: Issue with memoryMB validation
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.7.0
Assignee: Gal Zaidman
QA Contact: Guilherme Santos
Depends On:
Blocks: 1837239
TreeView+ depends on / blocked
Reported: 2020-05-29 03:37 UTC by hpopal
Modified: 2021-02-24 15:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1837239
Last Closed: 2021-02-24 15:12:15 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4309 0 None closed Bug 1841381: oVirt, add memoryMB validation 2021-01-24 07:46:52 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:13:02 UTC

Comment 2 Sandro Bonazzola 2020-06-18 06:52:07 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 4 Gal Zaidman 2020-08-25 06:56:18 UTC
We are working on higher priority feature development and bug fixes. Hence moving this to next sprint.

Comment 5 Sandro Bonazzola 2020-10-22 11:33:27 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 6 Gal Zaidman 2020-11-01 17:04:16 UTC
We can't validate against the 0 value since when the field is empty (meaning equal to zero) we use the default value.
To avoid turning this bug into a huge change I added a validation for a nonnegative value, this is what other platforms are doing as well.

Comment 8 Guilherme Santos 2020-11-30 11:46:17 UTC
Verified on:

1. prepare install-config.yaml
2. set wrong string on vm_type
3. set negative value on memoryMB

Installation validation accuses wrong values as expected

Comment 9 Sandro Bonazzola 2020-12-03 12:38:33 UTC
to be added to errata

Comment 12 errata-xmlrpc 2021-02-24 15:12:15 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.7.0 security, bug fix, and enhancement 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.


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