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...
Keywords:
Status: VERIFIED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Sarah Lavie
QA Contact: Yuri Obshansky
URL:
Whiteboard: OCP-Metal-juke-5
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-20 10:40 UTC by Lital Alon
Modified: 2020-11-16 17: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:
Environment:
Last Closed:
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

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


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