Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

Console Keyboard Input Issue with Xen API on Ubuntu 12.04

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


stuarta at cs

Jul 3, 2012, 8:43 AM

Post #1 of 5 (877 views)
Permalink
Console Keyboard Input Issue with Xen API on Ubuntu 12.04

I installed xapi on Ubuntu Server 12.04 x86_64 and was able to create a
VM. However, when using XenCenter to get console access, no keyboard input
is accepted. However, the mouse and display work. I know that there is an
issue with qemu which requires a symlink from /usr/share/qemu/keymaps ->
/usr/share/qemu-linaro/keymaps/ which I have. I am not sure of the version
of xapi, but I know the build date is 2012-04-24 according to xapi
-version. Any suggestions or things to look into to correct this issue?

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


fabiorauber at gmail

Jul 13, 2012, 9:54 AM

Post #2 of 5 (858 views)
Permalink
Re: Console Keyboard Input Issue with Xen API on Ubuntu 12.04 [In reply to]

Alexander Stuart <stuarta@...> writes:

>
> I installed xapi on Ubuntu Server 12.04 x86_64 and was able to create a
> VM. However, when using XenCenter to get console access, no keyboard input
> is accepted. However, the mouse and display work. I know that there is an
> issue with qemu which requires a symlink from /usr/share/qemu/keymaps ->
> /usr/share/qemu-linaro/keymaps/ which I have.

I have the exact same problem, do anyone know how to correct this?






_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


bill at thebaums

Aug 22, 2012, 11:58 AM

Post #3 of 5 (772 views)
Permalink
Re: Console Keyboard Input Issue with Xen API on Ubuntu 12.04 [In reply to]

I'm having the same issue.. Any update on this? If XenCenter doesn't
work, it's kind of a deal-breaker.

Is this an issue with Ubuntu 12.04, or 64-bit, xcp-xapi itself, or ???
Is this behavior likely to be different if I install ubuntu 32-bit or
debian?

I was able to get xcp-xapi running on wheezy 32-bit in vmware
workstation, but I can't install an hvm guest to test.

Is there a platform on which xcp-xapi is the most functional?

--Bill

On Tue, Jul 3, 2012 at 10:43 AM, Alexander Stuart <stuarta [at] cs> wrote:
> I installed xapi on Ubuntu Server 12.04 x86_64 and was able to create a VM.
> However, when using XenCenter to get console access, no keyboard input is
> accepted. However, the mouse and display work. I know that there is an issue
> with qemu which requires a symlink from /usr/share/qemu/keymaps ->
> /usr/share/qemu-linaro/keymaps/ which I have. I am not sure of the version
> of xapi, but I know the build date is 2012-04-24 according to xapi -version.
> Any suggestions or things to look into to correct this issue?
>
> _______________________________________________
> Xen-api mailing list
> Xen-api [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


stuarta at cs

Aug 22, 2012, 12:04 PM

Post #4 of 5 (780 views)
Permalink
Re: Console Keyboard Input Issue with Xen API on Ubuntu 12.04 [In reply to]

I haven't had time to pursue the issue further. I haven't even considered
32bit since I plan on using well over 4GB of RAM. I am hoping the issue is
resolved by the mid Fall when I have time to tinker with this more.

Good luck to you Bill.


On Wed, 22 Aug 2012, William Baum wrote:

> I'm having the same issue.. Any update on this? If XenCenter doesn't
> work, it's kind of a deal-breaker.
>
> Is this an issue with Ubuntu 12.04, or 64-bit, xcp-xapi itself, or ???
> Is this behavior likely to be different if I install ubuntu 32-bit or
> debian?
>
> I was able to get xcp-xapi running on wheezy 32-bit in vmware
> workstation, but I can't install an hvm guest to test.
>
> Is there a platform on which xcp-xapi is the most functional?
>
> --Bill
>
> On Tue, Jul 3, 2012 at 10:43 AM, Alexander Stuart <stuarta [at] cs> wrote:
>> I installed xapi on Ubuntu Server 12.04 x86_64 and was able to create a VM.
>> However, when using XenCenter to get console access, no keyboard input is
>> accepted. However, the mouse and display work. I know that there is an issue
>> with qemu which requires a symlink from /usr/share/qemu/keymaps ->
>> /usr/share/qemu-linaro/keymaps/ which I have. I am not sure of the version
>> of xapi, but I know the build date is 2012-04-24 according to xapi -version.
>> Any suggestions or things to look into to correct this issue?
>>
>> _______________________________________________
>> Xen-api mailing list
>> Xen-api [at] lists
>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


bill at thebaums

Aug 25, 2012, 1:11 PM

Post #5 of 5 (784 views)
Permalink
Re: Console Keyboard Input Issue with Xen API on Ubuntu 12.04 [In reply to]

I have now verified this issue exists in Ubuntu 12.04 64-bit and
32-bit, and Debian Wheezy 32-bit. No keyboard input in XenCenter.

In Ubuntu 12.04 32-bit, I wasn't able to get networking to work in
(hvm?) guests at all.. I wasn't able to get a windows installer to
even boot without removing the virtual nic from the guest. The
XenCenter console behavior was then the same as 64-bit: display and
mouse are fine, no keyboard.

In 32-bit wheezy there are additional problems with startup
dependencies causing hangups on boot, and subsequently requiring
manual restarts of xcp-xapi and networking. Restarting xcp-xapi over
ssh causes network connectivity to be lost requiring a restart of
networking on the physical host. I suspect issue is discussed
elsewhere..

I did attempt to get vnc access to an hvm guest by modifying
/usr/lib/xcp/lib/vncterm-wrapper as mentioned in several references on
the web.. This had no effect, as I discovered what was actually
listening on 127.0.0.1:5901 for a windows guest was qemu-dm. I then
modified /usr/lib/xcp/lib/qemu-dm-wrapper replacing 127.0.0.1 with
0.0.0.0 as per:

http://cloudstack.org/forum/7-hypervisor-support/11767-xcp-console-proxy-issues.html

98a99,104
> new_args=qemu_args
> for index, arg in enumerate(new_args):
> if arg=='127.0.0.1:1':
> new_args[index]='0.0.0.0:1'
> qemu_args=new_args
>

This got qemu-dm listening on 0.0.0.0 rather than 127.0.0.1, and I was
able to get a working vnc connection to the guest, but only after
disconnecting XenCenter from the host. This was obvious after the
fact, but I drove myself crazy trying several vnc viewers to no avail
until it occurred to me to disconnect XenCenter. qemu-dm seems to
allow only one vnc connection at a time. This method allows any host
to connect to the guest with no authentication whatsoever, so is less
than ideal.

The better solution is to use an ssh tunnel, which I was able to do
with cygwin ssh:

C:\>ssh -L 5901:127.0.0.1:5901 root [at] xentm

Then connect with any vnc viewer to localhost:1 or localhost::5901.
(I used vncviewer.exe from UltraVNC_1.0.9.6.1.bins_x64.zip on windows
7 64)

This method requires no modification to files on the host, additional
machines, or compromised security -- just an ssh client and vnc viewer
on the XenCenter workstation.

In my case I had only one guest running, so it was obvious which port
needed to be tunneled. Otherwise, I'm not sure how to best determine
which guest is on which port. This is a start:

/usr/lib/xcp/bin/list_domains| while read id x uuid x state ; do echo
$id $uuid `xenstore-read /local/domain/$id/name`,`xenstore-read
/local/domain/$id/console/vnc-port`; done 2>/dev/null

id uuid ,
0 3eea3001-1064-75af-b3cf-6850c6d99971 Domain-0,
10 832e5e76-6c8d-f4de-ee47-bbacf89f5203 Win08r2,5901

Now that I have a workable workaround to the keyboard issue, I'm
reinstalling Ubuntu 12.04 64-bit, which seems to have the fewest
issues..

--Bill

> On Wed, 22 Aug 2012, William Baum wrote:
>> Is this an issue with Ubuntu 12.04, or 64-bit, xcp-xapi itself, or ???
>> Is this behavior likely to be different if I install ubuntu 32-bit or
>> debian?

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.