Bug 2090066 - [RFE] Improve guest login credentials
Summary: [RFE] Improve guest login credentials
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-25 03:32 UTC by Guohua Ouyang
Modified: 2023-11-13 08:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:34:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 518 0 None open Bug 2090066: Improve guest login credentials 2022-05-31 17:14:03 UTC
Red Hat Issue Tracker CNV-18615 0 None None None 2023-11-13 08:17:06 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:34:56 UTC

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


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