Bug 1956038
| Summary: | [Assisted-4.7] [Staging][OCS][Compact] Cluster validation failure when hosts has Automatic role | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Lital Alon <lalon> | ||||
| Component: | assisted-installer | Assignee: | Priyanka <pjiandan> | ||||
| assisted-installer sub component: | OCS Plugin | QA Contact: | Lital Alon <lalon> | ||||
| Status: | CLOSED NOTABUG | Docs Contact: | |||||
| Severity: | high | ||||||
| Priority: | unspecified | CC: | alazar, aos-bugs, lgamliel, nibalach | ||||
| Version: | 4.7 | Flags: | lalon:
needinfo-
lalon: needinfo- |
||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | AI-Team-OCS | ||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-05-14 13:23:09 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: |
|
||||||
|
Description
Lital Alon
2021-05-02 09:53:26 UTC
To check if the auto-assign role is eligible for master role,
if the operators are enabled: OCS+OCP req. per host are added.
otherwise OCP requirements are taken.
If we enable OCS,and if OCS host requirements are not satisfied, then it shows OCS cluster validation error along with insufficient master count error, because the host does not ave enough resources(OCP + OCS) to be master.
@Lital, we could reproduce this issue only when there were insufficient resources for OCP + all selected Operators. It worked when there were sufficient resources. From the attachment: CPU = 18 + 18 + 10 = 46 RAM = 42 + 42 + 30 = 114 OCS Host validation for compact mode: Required CPU = 6(OCS) + 4(OCP) + 2 (disk) = 12 . Required RAM = 19 (OCS) + 8 (OCP) + 5 (disk) = 32 One of these nodes does not meet the requirements which is why the error is seen. The message, however, is not clear. @Liat, who would need to look at the error message to see if it can be made clearer? (In reply to Priyanka from comment #1) > To check if the auto-assign role is eligible for master role, > if the operators are enabled: OCS+OCP req. per host are added. > otherwise OCP requirements are taken. > > If we enable OCS,and if OCS host requirements are not satisfied, then it > shows OCS cluster validation error along with insufficient master count > error, because the host does not ave enough resources(OCP + OCS) to be > master. Confirmed this with Jakub Dzon. This is the expected behavior and not a bug. We can fix the validation messages separately. |