Public bug reported:
I have to machines running Ubuntu 12.04 LTS precise. The first one is
running some KVM based virtual machines using libvirtd and qemu-kvm-
spice. The 2nd machine uses virt-manager with python-spice-client-gtk
installed to manage the VMs over qemu+tls libvirtd transport protocol.
Generally, virt-manger works great like this, but connecting to the
graphics fails due to an invalid spice URL being generated. No problems
with VNC graphics.
I have following configration for graphics console at libvirtd server
side:
<graphics type='spice' port='5902' autoport='no' listen='10.11.0.1'
keymap='fi'>
<listen type='address' address='10.11.0.1'/>
</graphics>
While running virt-manager --debug and connecting to the console from
another machine, the following gets printed:
2012-07-08 09:30:32,522 (console:1075): Starting connect process for
proto=spice trans=tls connhost=10.11.0.1 connuser=root connport=5902
gaddr=10.11.0.1 gport=5902 gsocket=None
2012-07-08 09:30:32,523 (console:490): spice uri:
spice://root10.11.0.1?port=5902
The spice URL is broken. I removed the line 488 in
/usr/share/virt-manager/virtManager/console.py and then it's working great.
Changing the line so that URL like spice://[email protected]?port=5902 gets
generated didn't work either. Looks like spice doesn't support user names in
the URL so it should be dropped altogether.
---
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 12.04
NonfreeKernelModules: nvidia
Package: virt-manager 0.9.1-1ubuntu5.1
PackageArchitecture: all
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, user)
LC_CTYPE=fi_FI.UTF-8
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Tags: precise
Uname: Linux 3.2.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm adm admin admin audio audio bacula bacula cdrom cdrom
debarchiver debarchiver dialout dialout dip dip disk disk fuse fuse git git
libvirtd libvirtd lpadmin lpadmin netdev netdev plugdev plugdev pulse-access
pulse-access sambashare sambashare video video wireshark wireshark www-data
www-data
** Affects: virt-manager (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-collected precise
** Tags added: apport-collected precise
** Description changed:
I have to machines running Ubuntu 12.04 LTS precise. The first one is
running some KVM based virtual machines using libvirtd and qemu-kvm-
spice. The 2nd machine uses virt-manager with python-spice-client-gtk
installed to manage the VMs over qemu+tls libvirtd transport protocol.
Generally, virt-manger works great like this, but connecting to the
graphics fails due to an invalid spice URL being generated. No problems
with VNC graphics.
I have following configration for graphics console at libvirtd server
side:
<graphics type='spice' port='5902' autoport='no' listen='10.11.0.1'
keymap='fi'>
<listen type='address' address='10.11.0.1'/>
</graphics>
While running virt-manager --debug and connecting to the console from
another machine, the following gets printed:
2012-07-08 09:30:32,522 (console:1075): Starting connect process for
proto=spice trans=tls connhost=10.11.0.1 connuser=root connport=5902
gaddr=10.11.0.1 gport=5902 gsocket=None
2012-07-08 09:30:32,523 (console:490): spice uri:
spice://root10.11.0.1?port=5902
- The spice URL is broken. I removed the line 488 in /usr/share/virt-
- manager/virtManager/console.py and then it's working great. Changing the
- line so that URL like spice://[email protected]?port=5902 gets generated
- didn't work either. Looks like spice doesn't support user names in the
- URL so it should be dropped altogether.
+ The spice URL is broken. I removed the line 488 in
/usr/share/virt-manager/virtManager/console.py and then it's working great.
Changing the line so that URL like spice://[email protected]?port=5902 gets
generated didn't work either. Looks like spice doesn't support user names in
the URL so it should be dropped altogether.
+ ---
+ ApportVersion: 2.0.1-0ubuntu8
+ Architecture: amd64
+ DistroRelease: Ubuntu 12.04
+ NonfreeKernelModules: nvidia
+ Package: virt-manager 0.9.1-1ubuntu5.1
+ PackageArchitecture: all
+ ProcEnviron:
+ TERM=xterm
+ SHELL=/bin/bash
+ PATH=(custom, user)
+ LC_CTYPE=fi_FI.UTF-8
+ ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
+ Tags: precise
+ Uname: Linux 3.2.0-26-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm adm admin admin audio audio bacula bacula cdrom cdrom
debarchiver debarchiver dialout dialout dip dip disk disk fuse fuse git git
libvirtd libvirtd lpadmin lpadmin netdev netdev plugdev plugdev pulse-access
pulse-access sambashare sambashare video video wireshark wireshark www-data
www-data
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022217
Title:
Connection to spice graphics console broken due to an invalid URL
being generated
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1022217/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs