Bug 1942521
Summary: | [Assisted-4.7] [Staging][OCS] Minimum memory for selected role is failing although minimum OCP requirement satisfied | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Lital Alon <lalon> | ||||
Component: | assisted-installer | Assignee: | Jordi Gil <jgil> | ||||
assisted-installer sub component: | assisted-service | QA Contact: | Yuri Obshansky <yobshans> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | high | ||||||
Priority: | unspecified | CC: | aos-bugs, jgil, lgamliel | ||||
Version: | 4.7 | ||||||
Target Milestone: | --- | ||||||
Target Release: | 4.8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | OCP-Metal-V1.0.18.1 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-07-27 22:55:12 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: | |||||||
Attachments: |
|
The reason for this bug is this PR https://github.com/openshift/assisted-service/pull/1167 that moved the test on memory from physical bytes to usable bytes. Code reverted to use physical instead of usable. https://github.com/openshift/assisted-service/pull/1398 @lalon source code updated. Can you check again with the latest version? If issue was fixed than please move this bug to ON_QA and QE will get to verify it Verified on Staging, OCP-Metal-V1.0.18.1 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.8.2 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-2021:2438 |
Created attachment 1765942 [details] example Description of problem: I have set minimal mode cluster, 3 workers. I set one worker to have the minimul RAM required for OCP (in Integration is 8 Gib) The issue is the UI raised host validation: "Minimum memory for selected role: Require at least 8 GiB RAM role worker, found only 7 GiB." (see attached) The discovered memory is: 8.00 Gib So i expected no validation failure. Version-Release number of selected component (if applicable): Integration How reproducible: 100% Steps to Reproduce: 1. set up a cluster with exactly 8 Gib (or the minimum memory for OCP) Actual results: Minimum memory for selected role validation failure Expected results: Hosts are known OR align the minimum requirement according to what tested in specific-role validation, OR display in UI both usable and physical values Additional info: 1. reproduced during test: test_ocs_minimal_insufficient_cpu_ram 2. Might be related to usable memory VS physical memory