Bug 239977

Summary: Not able to enter a "/" or "-" within anaconda in virtual machine
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: libvirtAssignee: Daniel Berrange <berrange>
Status: CLOSED WORKSFORME QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: rawhideCC: katzj, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-08 22:38:48 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    

Description Robert Scheck 2007-05-13 16:41:58 EDT
Description of problem:
After entering

  virt-install --name kvm --file /home/robert/kvm.img --file-size 0.7 \
    --bridge eth0 --vnc --connect qemu:///system --paravirt \
    --location /home/robert/boot.iso --ram=256

a vncviewer opens up. When the boot.iso is the network boot image of Fedora 7, 
I should be able to enter URLs in the upcoming ananconda within the vncviewer. 
Unfortunately, after choosing "us" keyboard, I can't enter a "-" sign and when 
choosing "de", I'm not able to enter a "/" within anaconda. This is somehow 
broken...

Version-Release number of selected component (if applicable):
python-virtinst-0.103.0-3

How reproducible:
Everytime.

Expected results:
Working stuff...
Comment 1 Robert Scheck 2007-05-13 16:52:20 EDT
Oh, wrong way: With "us" charset I can't enter an "/" and with "de" I'm not 
able to enter a "-" character within anaconda.
Comment 2 Daniel Berrange 2007-05-14 09:46:46 EDT
Can you run same virt-install command, adding in the --debug flag & attach the
output to this bug. The /var/log/xen/xend.log will be useful too.  

Finally, what keyboard layout is your local X desktop session using & what is in
/etc/sysconfig/keyboard ?
Comment 3 Robert Scheck 2007-05-15 16:28:39 EDT
I'm using not Xen (KVM/KQEMU) and the local X desktop has the same 
configuration as follows (but the problem also appears via remote VNC from a 
windows machine):

[root@linuxtag pub]# cat /etc/sysconfig/keyboard
KEYBOARDTYPE="pc"
KEYTABLE="de-latin1-nodeadkeys"
[root@linuxtag pub]#
Comment 4 Daniel Berrange 2007-05-16 14:45:24 EDT
> Can you run same virt-install command, adding in the --debug flag & attach the
> output to this bug. 

Still need that info.
Comment 5 Robert Scheck 2007-05-17 13:46:26 EDT
Output is simply the same as at bug #240127 initial description (which is also 
by me).
Comment 6 Daniel Berrange 2007-05-17 13:55:57 EDT
Ok, please re-try the virt-install command adding in

  --keymap de

The VNC  server doesn't support "de-latin1-nodeadkeys", but hopefully a generic
 'de' keyboard would get a more functional setup.

You can see a list of supported keymaps with 'rpm -ql xen | grep keymaps'

NB, local X desktop, the VNC server, and the guest X server must all be
configured to use the same keymap if possible. So setting them all to 'de' (or a
close variation) would be ideal
Comment 7 Robert Scheck 2007-05-19 12:37:43 EDT
Well, I can set the keymap to 'de', 'us' etc. and in NO CASE 'de' or 'us' 
keyboard will work during setup. I'm not able to enter slashes anyway.
Comment 8 Markus Armbruster 2007-05-24 16:34:46 EDT
This is actually a bug in libvirt: keymap support is missing for KVM. 
Reassigning...
Comment 9 Robert Scheck 2007-05-24 16:35:49 EDT
...and broken for Xen!
Comment 10 Alexander Boström 2007-06-10 12:07:07 EDT
Probable workaround: I'm using se-latin1, and I can enter a / using the numeric
keypad.
Comment 11 Matěj Cepl 2007-09-18 09:37:30 EDT
I have in host computer default locale cs_CZ.UTF-8 and after entering any
non-letter characters in kvm machine through virt-viewer or through vncviewer
(including but by far not limited to "/") via numerical keyboard (because
sometimes double-translated keyboard doesn't give me numerical characters and
what's on the US keyboard above numbers), keyboard gets stuck with Shift on all
keys. Sometimes it helped switching between locked and non-locked mouse in
virt-viewer (by pressing Ctrl+Alt), sometimes loging out and loging in to Gnome
session in the guest machine, but sometimes I have to shutdown whole KVM guest
and restart it.
Comment 12 Robert Scheck 2007-12-16 08:13:38 EST
Ping?
Comment 13 Jesse Keating 2008-03-31 13:52:04 EDT
Is this still an issue?  I've been doing installs in virt-manager for a bit and
haven't had a problem putting in a /