Bug 2040169

Summary: [MTC UI] “Add Cluster” wizard stucks when the cluster name length is more than 63 characters
Product: Migration Toolkit for Containers Reporter: ssingla
Component: UIAssignee: Ian <ibolton>
Status: ASSIGNED --- QA Contact: Xin jiang <xjiang>
Severity: low Docs Contact: Richard Hoch <rhoch>
Priority: low    
Version: 1.6.3   
Target Milestone: ---   
Target Release: 1.6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2040695 (view as bug list) Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 2040695    

Description ssingla 2022-01-13 07:23:09 UTC
Description of problem: 
While adding a new cluster to the MTC web console, The “Add Cluster” wizard keep validating the connection forever when the cluster name is more than 63 characters long.

Severity: Low

Version-Release number of selected component (if applicable):
MTC 1.6.3
SOURCE CLUSTER: AWS 4.6 MTC 1.6.3
TARGET CLUSTER: AWS 4.9 MTC 1.6.3

How reproducible:
Always


Steps to Reproduce:
1. Login to the MTC web console
2. Click on “Add Cluster” and enter a cluster name of more than 63 characters and fill the other details appropriately
3. Click on “Add Cluster”
 

Actual Result: 

The wizard keeps validating the connection forever.


Expected Result: There should be a proper error message for the name validation on entering a name longer than 63 characters.