Bug 1884989

Summary: [Assisted-4.6][Staging][UI][Advanced Networking] wrong validation error return when using out of range prefix
Product: OpenShift Container Platform Reporter: Lital Alon <lalon>
Component: assisted-installerAssignee: Jiri Tomasek <jtomasek>
assisted-installer sub component: assisted-ui QA Contact: Udi Kalifon <ukalifon>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs
Version: 4.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-07 09:03:11 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:

Description Lital Alon 2020-10-04 09:59:18 UTC
Description of problem:
I was setting out of range prefix:
Cluster Network CIDR: 10.128.0.0/22
Cluster Network Host Prefix: 1
Service Network CIDR: 172.30.0.0/16

The UI shows up the message:
The host prefix is a number between size of the cluster network CIDR range (22) and 32.

The issue is that the UI return an incorrect error validation message:
I was expecting to get a range 22 - 25,  since 25 is the minimum addresses allowed for a single host.

Comment 1 Jiri Tomasek 2020-10-07 09:03:11 UTC

*** This bug has been marked as a duplicate of bug 1877838 ***