Bug 1798116
| Summary: | [MIG-UI] Malformed URL error if there is a space at the end of the cluster URL | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Sergio <sregidor> |
| Component: | Migration Tooling | Assignee: | Sam Lucidi <slucidi> |
| Status: | CLOSED ERRATA | QA Contact: | Sergio <sregidor> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.3.0 | CC: | chezhang, dymurray, ernelson, rpattath, slucidi, whu, xjiang |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-28 11:09:55 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: | |||
Verified in CAM stage 1.2 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, 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/RHEA-2020:2326 |
Description of problem: When a new cluster is added to App Migration, if a blank space is added at the end of the cluster URL when filling in the form, we get a 'Connection failed. Message: "The `url` is malformed.", Reason: "Malformed"' error when we save the cluster. Version-Release number of selected component (if applicable): CAM 1.1 UI: imageID: registry.stage.redhat.io/rhcam-1-1/openshift-migration-ui-rhel8@sha256:ed16db50ffd6614d8f654449bf29003b82d4d5da420419add00fd5ec5b1fd79b Controller: imageID: registry.stage.redhat.io/rhcam-1-1/openshift-migration-controller-rhel8@sha256:db3247ffbaaace242cfd3d530994ccdeb0a39f4e3b46e43f7f3870279cf65d1a How reproducible: Always Steps to Reproduce: 1. Click on "Add" button in the clusters row in order to add a new cluster to App Migration 2. Fill in the form. Cluster Name: "myclustername" Url: "https://my.cluster.url.com.with.a.space.at.the.end " Service account token: "myaccounttoken" 3. Click on "Add cluster" Actual results: After clicking "Add cluster" the cluster should be added. But we get this error 'Connection failed. Message: "The `url` is malformed.", Reason: "Malformed"' Expected results: The space at the end of the URL should not break the Add cluster process. Additional info: