Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1889659

Summary: [Assisted-4.6] [cluster validation] Number of hosts validation is not enforced when Automatic role assigned
Product: OpenShift Container Platform Reporter: Lital Alon <lalon>
Component: assisted-installerAssignee: Sarah Lavie <slavie>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: alazar, aos-bugs, lgamliel, mchernyk
Version: 4.6   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: OCP-Metal-juke-5
Fixed In Version: OCP-Metal-v1.0.11.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-15 09:26:44 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 Flags
Validation is not enforced
none
validation should pass none

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
Master:
Release tag
stable
Assisted Installer UI version
quay.io/ocpmetal/ocp-metal-ui:d047d6f2709c59af9f7becc10d694bfc811cde37
Assisted Installer UI library version
1.0.47
assistedIgnitionGenerator
Assisted Installer
quay.io/ocpmetal/assisted-installer:08a0ca837247d867a3fbb1953415e8f417754ed2
Assisted Installer Controller
quay.io/ocpmetal/assisted-installer-controller:08a0ca837247d867a3fbb1953415e8f417754ed2
Assisted Installer Service
quay.io/ocpmetal/assisted-service:c631bd9262b1c32b61801f285d79822e0782f45b
Discovery Agent
quay.io/ocpmetal/assisted-installer-agent:6fcfff8bfd66bcf05fb0cec2ca609be2c518a578
Image Builder
quay.io/ocpmetal/assisted-iso-create:c631bd9262b1c32b61801f285d79822e0782f45b

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.

https://access.redhat.com/errata/RHSA-2021:2286