Bug 2090066

Summary: [RFE] Improve guest login credentials
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Ugo Palatucci <upalatuc>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11.0CC: cnv-qe-bugs, gouyang, ycui
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-14 19:34:47 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 Guohua Ouyang 2022-05-25 03:32:50 UTC
Description of problem:
Improve guest login credentials:
1. move the icon ">" close to the text
2. if there are no username and password, shows "no guest credentials" instead of showing the long text.
3. remove the "copy to clipboard" icon if no password

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ugo Palatucci 2022-06-06 08:37:10 UTC
Find out some doc about default cloud-init username.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_cloud-init_for_rhel_8/index#the-default-cloud-cfg-file_red-hat-support-for-cloud-init

So cloud-user is the default username.

I'll fix this bug in this way if you guys agree:

- no password, no username: 'No guest credentials' message
- password with no username: Username: cloud-user, password: ${PASSWORD}
- no password with username: Username: ${USERNAME}
- password with username: Username: ${USERNAME}, password: ${PASSWORD}

What do you think? @guohua @yaacov

Comment 2 Ugo Palatucci 2022-06-06 09:11:06 UTC
FIX:

- password with no username: Username: 'No username set, see operating system documentation for the default username.', password: ${PASSWORD}

Comment 3 Guohua Ouyang 2022-06-09 02:28:56 UTC
verified on OCP-v4.11.0-47

Comment 6 errata-xmlrpc 2022-09-14 19:34:47 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: OpenShift Virtualization 4.11.0 Images 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-2022:6526