Bug 1889659 - [Assisted-4.6] [cluster validation] Number of hosts validation is not enforced when Automatic role assigned
Summary: [Assisted-4.6] [cluster validation] Number of hosts validation is not enforce...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.7.0
Assignee: Sarah Lavie
QA Contact: Yuri Obshansky
Whiteboard: OCP-Metal-juke-5
Depends On:
TreeView+ depends on / blocked
Reported: 2020-10-20 10:40 UTC by Lital Alon
Modified: 2021-06-16 04:32 UTC (History)
4 users (show)

Fixed In Version: OCP-Metal-v1.0.11.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-06-15 09:26:44 UTC
Target Upstream Version:

Attachments (Terms of Use)
Validation is not enforced (140.39 KB, image/png)
2020-10-20 10:40 UTC, Lital Alon
no flags Details
validation should pass (192.14 KB, image/png)
2020-10-21 11:49 UTC, mchernyk
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2286 0 None None None 2021-06-15 09:27:40 UTC

Description Lital Alon 2020-10-20 10:40:13 UTC
Created attachment 1722829 [details]
Validation is not enforced

Created attachment 1722829 [details]
Validation is not enforced

Description of problem:
I have 4 nodes in the cluster with automatic role assignment. The issue is that i expected a validation message to appear, explaining that 3 masters with 1 workers is not supported. 
Instead cluster was at Ready to install.

Steps to Reproduce:
1. Boot 4 nodes and leave the role as Automatic
2. Set all cluster info and save changes

Actual results:
Cluster is Ready to install

Expected results:
Validation error displays

Comment 1 Lital Alon 2020-10-20 10:41:26 UTC
Release tag
Assisted Installer UI version
Assisted Installer UI library version
Assisted Installer
Assisted Installer Controller
Assisted Installer Service
Discovery Agent
Image Builder

Comment 2 mchernyk 2020-10-21 11:49:21 UTC
Created attachment 1723162 [details]
validation should pass

When cluster has 5 nodes in 'Known' state, assigning 3 masters, 1 worker and 1 node with 'Automatic' role leads to failed validation.

Comment 4 Lital Alon 2020-11-16 17:32:38 UTC
Verified on:
Staging v1.0.11.1
facet lib v1.4.2

Comment 6 Siddharth Sharma 2021-06-04 18:37:27 UTC
This bug will be shipped as part of next z-stream release 4.7.15 on June 14th, as 4.7.14 was dropped due to a regression https://bugzilla.redhat.com/show_bug.cgi?id=1967614

Comment 10 errata-xmlrpc 2021-06-15 09:26:44 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.16 security and bug fix 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.