Bug 1924695 - Non-ascii passwords are accepted but don't work
Summary: Non-ascii passwords are accepted but don't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: Matan Schatzman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 13:22 UTC by Erkan Erol
Modified: 2021-10-18 17:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:29:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Non-ascii chars are not allowed in the password (6.08 KB, image/png)
2021-07-07 07:51 UTC, Leon Kladnitsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:29:49 UTC

Description Erkan Erol 2021-02-03 13:22:26 UTC
Description of problem:

While creating a VM, users are allowed to enter password in "cloud-init" step. When they use non-ascii chars in the password, the creation of VM works. However, users  cannot connect to console via web ui or virtctl. WebUI doesn't allow keyboard selection in console window. virtctl cannot verify the password. 

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


How reproducible:


Steps to Reproduce:
1. Choose "Customize virtual machine" in web UI while creating a VM. (I used Fedora 31)
2. In the step 4, remove the autogenerated password and use "türkçekarakterlişifre"
3. Continue the wizard and create the VM
4. Observe that you cannot enter the password via web ui since the console tab in web ui assumes your keyboard is english keyboard.
5. Try to connect with "virtctl console" command with the password. Observe that it rejects. 

Actual results: Connection to VM is not possible.


Expected results: The password should not be allowed while creation or it should work. At least, the doc should states that non-ascii passwords don't work. 


Additional info:

Comment 1 Yaacov Zamir 2021-05-19 12:15:18 UTC
Target release is 4.9, moving out of 4.8

Comment 3 Leon Kladnitsky 2021-07-07 07:51:07 UTC
Created attachment 1798988 [details]
Non-ascii chars are not allowed in the password

Comment 5 Leon Kladnitsky 2021-07-11 11:37:12 UTC
Reproduced on:
Client Version: 4.8.0-rc.1
Server Version: 4.7.14
Kubernetes Version: v1.20.0+a0b09eb
CNV:
NAME                                      DISPLAY                    VERSION   REPLACES                                  PHASE
kubevirt-hyperconverged-operator.v2.6.5   OpenShift Virtualization   2.6.5     kubevirt-hyperconverged-operator.v2.6.4   Succeeded

Moving to VERIFIED

Comment 6 Ying Cui 2021-07-14 06:36:03 UTC
Set the 4.9.0 release according to comment #1

Comment 7 Leon Kladnitsky 2021-07-20 07:05:11 UTC
Works as expected on 4.9. 
Verified on https://console-openshift-console.apps.virt-09.cnv-qe.rhcloud.com 

Client Version: 4.8.0-rc.1
Server Version: 4.9.0-0.nightly-2021-07-12-203753
Kubernetes Version: v1.21.1+90622d8
NAME                                      DISPLAY                    VERSION   REPLACES                                  PHASE
kubevirt-hyperconverged-operator.v4.9.0   OpenShift Virtualization   4.9.0     kubevirt-hyperconverged-operator.v2.6.5   Succeeded

Moving to VERIFIED.

Comment 10 errata-xmlrpc 2021-10-18 17:29:03 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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-2021:3759


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