Bug 1878497

Summary: [Assisted-4.6 ][Staging] "No Proxy Domains" field does not accept CIDR as a valid value
Product: OpenShift Container Platform Reporter: nshidlin <nshidlin>
Component: assisted-installerAssignee: Jiri Tomasek <jtomasek>
assisted-installer sub component: assisted-ui QA Contact: Udi Kalifon <ukalifon>
Status: CLOSED WONTFIX Docs Contact:
Severity: unspecified    
Priority: unspecified CC: aos-bugs, masayag, mlibra
Version: 4.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: OCP-Metal-juke-4
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-17 14:00:57 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
screen shot of validation error none

Description nshidlin 2020-09-13 13:23:28 UTC
Created attachment 1714684 [details]
screen shot of validation error

Description of problem:

A CIDR value is not accepted in the "No Proxy Domains" field when generating the ISO through the UI.

An API call to patch cluster with CIDR no_proxy value is successful. 

Version-Release number of selected component (if applicable):
Facet-lib version:  1.0.36

{
    "release_tag": "v1.0.9.2-ds",
    "versions": {
        "assisted-ignition-generator": "quay.io/ocpmetal/assisted-ignition-generator:v1.0.9.2",
        "assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-14",
        "assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-10",
        "assisted-installer-service": "quay.io/app-sre/assisted-service:990e3e0",
        "discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-12",
        "image-builder": "quay.io/app-sre/assisted-iso-create:990e3e0"
    }
}


How reproducible:
Every Time

Steps to Reproduce:
1. Create a cluster and click "Download discovery ISO"
2. Set HTTP Proy URL 
3. Set "No Proxy domains" to CIDR e.g "21.19.35.64/26"
4. Attempt to generate discovery ISO

Actual results:
Validation error "Provide comma-separated list of domains excluded from proxy." is raised

Expected results:
Input fields are successfully validated and ISO is generated

Additional info:

Comment 1 Moti Asayag 2020-09-13 14:44:19 UTC
This bug is a duplication of https://issues.redhat.com/browse/MGMT-1962