Description of problem: Set German keyboard layout doesn't work, the keyboard layout same as US. # cat /etc/default/ovirt | grep KEYBOARD OVIRT_KEYBOARD_LAYOUT="de" # ll /etc/sysconfig/keyboard ls: cannot access /etc/sysconfig/keyboard: No such file or directory Version-Release number of selected component (if applicable): rhev-hypervisor7-7.0-20140714.0 ovirt-node-3.1.0-0.5.20140711git7197118.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Install rhev-hypervisor7-7.0-20140714.0.iso 2. Enter keyboard menu. 3. Set keyboard layout to "German". Actual results: Set German keyboard layout doesn't work,the keyboard layout same as US. Expected results: Set German keyboard layout can work fine. Additional info:
Chen, could you please attach /var/log/ovirt-node.log ?
Created attachment 918637 [details] ovirt-node.log
Is this reproducable on EL6, or is it a new problem with RHEH-H 7 images?
(In reply to Ryan Barry from comment #3) > Is this reproducable on EL6, or is it a new problem with RHEH-H 7 images? Can't reproduce on el6, it should be a new issue with RHEV-H 7 images. Thanks!
Re-targeting for 3.6
Hi, (In reply to shaochen from comment #0) > Description of problem: > Set German keyboard layout doesn't work, the keyboard layout same as US. > > # cat /etc/default/ovirt | grep KEYBOARD > OVIRT_KEYBOARD_LAYOUT="de" > > # ll /etc/sysconfig/keyboard > ls: cannot access /etc/sysconfig/keyboard: No such file or directory > In EL7 systemd reads /etc/vconsole.conf instead of /etc/sysconfig/keyboard > Version-Release number of selected component (if applicable): > rhev-hypervisor7-7.0-20140714.0 > ovirt-node-3.1.0-0.5.20140711git7197118.el7.noarch > > How reproducible: > 100% > > Steps to Reproduce: > 1. Install rhev-hypervisor7-7.0-20140714.0.iso > 2. Enter keyboard menu. > 3. Set keyboard layout to "German". > > Actual results: > Set German keyboard layout doesn't work,the keyboard layout same as US. > > Expected results: > Set German keyboard layout can work fine. > > Additional info: I have tested Red Hat Enterprise Virtualization Hypervisor release 7.0 (20141202.0.el7ev) and everything is working as expected as systemd now reads a different file. Commands and outputs from tests: # cat /etc/vconsole.conf KEYMAP=de FONT=latarcyrheb-sun16 # localectl status System Locale: LANG=en_US.utf8 VC Keymap: de X11 Layout: n/a Additional data: I could see my US keyboard behaving as DE keyboard. Some keys are acting in a pretty different layout.
This bug was ON_QA last year, was not attached into ovirt-node 3.5.0 GA errata, and bug target to 3.6.0. Chen, see comment 6, could you please retest it on rhevh 7.0 for rhev 3.5.0 GA build, if it works, we can close this bug as current release. Thanks.
Set German keyboard layout still doesn't work on rhevh 7.0 for rhev 3.5.0 GA build The result of my keyboard behaving still as US keyboard. # cat /etc/issue Red Hat Enterprise Virtualization Hypervisor 7.0 (20150127.0.el7ev) Kernel \r on an \m (\l) # cat /etc/vconsole.conf KEYMAP="us" FONT="latarcyrheb-sun16" # localectl status System Locale: LANG=en_US.utf8 VC Keymap: de X11 Layout: de X11 Model: pc105 X11 Options: terminate:ctrl_alt_bksp
# cat /etc/issue Red Hat Enterprise Virtualization Hypervisor 7.1 (20150312.0.el7ev) # rpm -qa | grep ovirt-node ovirt-node-3.2.1-10.el7.noarch # cat /etc/vconsole.conf KEYMAP="us" FONT="latarcyrheb-sun16" # local local locale localectl localedef [root@dell-op740-03 admin]# localectl status System Locale: LANG=en_US.utf8 VC Keymap: de X11 Layout: de X11 Model: pc105 X11 Options: terminate:ctrl_alt_bksp The same issue occurs on latest 7.1 build, so assigned this bug.
(In reply to shaochen from comment #9) > # cat /etc/issue > Red Hat Enterprise Virtualization Hypervisor 7.1 (20150312.0.el7ev) > > # rpm -qa | grep ovirt-node > ovirt-node-3.2.1-10.el7.noarch > > # cat /etc/vconsole.conf > KEYMAP="us" > FONT="latarcyrheb-sun16" > > # local > local locale localectl localedef > [root@dell-op740-03 admin]# localectl status > System Locale: LANG=en_US.utf8 > VC Keymap: de > X11 Layout: de > X11 Model: pc105 > X11 Options: terminate:ctrl_alt_bksp > > The same issue occurs on latest 7.1 build, so assigned this bug. Hi shaochen, I still cannot reproduce the report, this time using: rhev-hypervisor7-7.1-20150609.0. I have tested in 7.1 as the targeted version for this report is 3.6 which will be based in EL7.1. - During the install, I have selected German as the keyboard layout. - After the installation, the Keyboard tab in TUI shows: Current Active Keyboard Layout: German - Went to shell and see my keyboard keys totally different, additional data shared below: # cat /etc/vconsole.conf KEYMAP=de FONT=latarcyrheb-sun16 # localectl status System Locale: LANG=en_US.utf8 VC Keymap: de X11 Layout: n/a Moving back to ON_QA for double check. Thanks!
Test version: rhev-hypervisor7-7.2-20151112.1 ovirt-node-3.6.0-0.20.20151103git3d3779a.el7ev.noarch Test steps: 1. Install rhev-hypervisor7.2 2. Enter keyboard menu. 3. Set keyboard layout to "German". Test result: Set German keyboard layout can work fine. So the bug is fixed, change bug status to VERIFIED.
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, 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://rhn.redhat.com/errata/RHBA-2016-0378.html