Bug 2074766

Summary: vSphere network name doesn't allow entering spaces and doesn't reflect YAML changes
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: dhuynh
Component: ConsoleAssignee: John Swanke <jswanke>
Status: CLOSED ERRATA QA Contact: Napoco Agbetra <nagbetra>
Severity: medium Docs Contact: Christopher Dawson <cdawson>
Priority: medium    
Version: rhacm-2.4.zCC: dho, dhuynh, ecai, huichen, kcormier, nagbetra, vboulos
Target Milestone: ---Flags: kcormier: rhacm-2.4.z+
kcormier: rhacm-2.5-
Target Release: rhacm-2.4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2080503 (view as bug list) Environment:
Last Closed: 2022-09-26 14:52:19 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:

Description dhuynh 2022-04-13 04:04:57 UTC
Description of problem:
when entering the vSphere network name, we can't enter any spaces. We can however, paste it in. Additionally, any change we make to the YAML editor for the vSphere network name is not reflected in the UI.

Keeping this as one defect instead of two since it affects the same field.

Version-Release number of selected component (if applicable):
v2.4.2 RC2
This is also in the latest 2.5

Steps to Reproduce:
1. Click Create Cluster and select vSphere VMware. Go to Networks.
2. Try typing in "Test Network" observe that space is not entered
3. Make change to platform.vsphere.network. Observe that the UI is not updated with this change.

Actual results:
- Can't enter space in network name
- Any change in yaml editor isn't reflected in UI

Comment 1 bot-tracker-sync 2022-04-13 21:30:27 UTC
G2Bsync 1098391937 comment 
 dtthuynh Wed, 13 Apr 2022 19:11:51 UTC 
 G2Bsync  
> @KevinFCormier will do. @dtthuynh @KevinFCormier So the implication is that spaces in the network names are okay for vSphere?

I'm not 100% on any hard requirement, but we've been using network name with spaces for a while for our internal vSphere instances. This was missed because we would always paste it in.

Comment 4 bot-tracker-sync 2022-06-13 20:12:00 UTC
G2Bsync 1154176122 comment 
 dtthuynh Mon, 13 Jun 2022 17:13:11 UTC 
 G2Bsync  Tested on 2.4.5-FC1, spaces are now allowed to be entered in the Network name field, but any changes to the YAML does not get reflected onto the UI. 

![image](https://user-images.githubusercontent.com/53154476/173408292-d5172e51-ad08-41d7-b251-55a85a0191db.png)

Comment 5 bot-tracker-sync 2022-07-08 13:24:54 UTC
G2Bsync 1178933339 comment 
 KevinFCormier Fri, 08 Jul 2022 12:29:16 UTC 
 G2Bsync An additional fix for the syncing of the network type has been delivered for 2.4.6.

Comment 6 Napoco Agbetra 2022-07-08 19:25:37 UTC
Verified fix in 2.4.6
Can enter space in network name
Change in yaml editor is reflected in UI

Comment 7 Napoco Agbetra 2022-07-08 19:34:17 UTC
(In reply to Napoco Agbetra from comment #6)
> Verified fix in quay.io:443/acm-d/acm-custom-registry:2.4.6-DOWNSTREAM-2022-07-07-20-04-16
> Can enter space in network name
> Change in yaml editor is reflected in UI

Comment 12 errata-xmlrpc 2022-09-26 14:52:19 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 (Critical: Red Hat Advanced Cluster Management 2.4.6 security update and bug fixes), 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-2022:6696