Bug 2152149 - Adding a MigCluster from UI fails when the domain name has characters more than 6
Summary: Adding a MigCluster from UI fails when the domain name has characters more th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.7.8
Assignee: Ian
QA Contact: mohamed
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-09 13:39 UTC by Abhijeet Sadawarte
Modified: 2023-03-23 02:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-23 02:16:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github migtools mig-ui pull 1493 0 None Merged Bug 2152149: Allow 63 chars for TLD labels 2023-03-01 15:09:08 UTC
Github migtools mig-ui pull 1494 0 None Merged [Backport] - Bug 2152149: Allow 63 chars for TLD labels (#1493) 2023-03-01 15:12:20 UTC
Red Hat Knowledge Base (Solution) 6989864 0 None None None 2022-12-09 13:59:44 UTC
Red Hat Product Errata RHSA-2023:1428 0 None None None 2023-03-23 02:18:26 UTC

Description Abhijeet Sadawarte 2022-12-09 13:39:47 UTC
Description of problem:
Adding a MigCluster from UI fails when the domain name has characters of more than 6.

The code expects a 2 to 6 character length so it should be more:

~~~
https://github.com/migtools/mig-ui/blob/master/src/app/common/duck/utils.ts#L6
~~~

Version-Release number of selected component (if applicable):
MTC 1.7.5

How reproducible:
Simply try adding a remote MigCluster host with a domain name of more than 6 characters.

Comment 8 mohamed 2023-03-01 19:37:04 UTC
Verified using MTC prestage

Comment 12 errata-xmlrpc 2023-03-23 02:16:44 UTC
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 (Important: Migration Toolkit for Containers (MTC) 1.7.8 security and bug fix update), 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/RHSA-2023:1428


Note You need to log in before you can comment on or make changes to this bug.