Created attachment 1718744 [details] wrong validation message when saving incorrect advanced networking values Created attachment 1718744 [details] wrong validation message when saving incorrect advanced networking values Description of problem: i was configuring this in the advanced networking: Cluster Network CIDR: 10.128.0.0/22 Cluster Network Host Prefix: 30 Service Network CIDR: 172.30.0.0/16 the return error when saving this values: Network prefix 30 is out of the allowed range (1 , 25) The issue is that the allowed range returned from service is incorrect. the returned allowed range should be dynamic, and influence by the cluster CIDR that is currently set. so i was expecting to the following range: (22, 25) and not (1 , 25) (Staging v1.9.0.7)
Will change the validation and the message to check upper range only (less than 25). The relation between the host prefix and the cluster network CIDR is checked by cluster network CIDR validation
PR https://github.com/openshift/assisted-service/pull/534
Verified on Staging v1.0.10.1