Problems with sound and spice during migration

PONCHO

New Member
Nov 13, 2014
8
0
1
44
Lower Normandy (France)
Hello everybody, before posting this message I have tried to find the answers to my problems in the forum. Unsuccessfully I didn't find anything.
I'm gonna try to be clear explaining my problem, english is not my first language:
We have two servers Proxmox which we are able to make migrations of VM between them. But once I've tried to make à live migration of one VM connected to her at the same time with Spice, at the end of the migration I lose the sound in my spice client and since this moment it's impossible for me to recover it.
The same opération from another client computer has produced the same issue.
I've tried many things to recover the sound but nothing works ... since the moment I did the live migration connected to Spice I've totally lost the sound.
I wonder if the problem comes from the spice configuration files in the server because from client computer I've have deleted and purged the virt-viewer package and all his dependencies to reinstall all again later but it doesn't work neither.
Anybody can help me please ?
 
Ok thanks for the explanation Spirit.

Before migration:

# info spice
Server:
address: 127.0.0.1:61006 [tls]
migrated: false
auth: spice
compiled: 0.12.4
mouse-mode: server
Channel:
address: 127.0.0.1:55232 [tls]
session: 1555449762
channel: 1:0
Channel:
address: 127.0.0.1:55235 [tls]
session: 1555449762
channel: 2:0
Channel:
address: 127.0.0.1:55233 [tls]
session: 1555449762
channel: 5:0
Channel:
address: 127.0.0.1:55234 [tls]
session: 1555449762
channel: 6:0
Channel:
address: 127.0.0.1:55237 [tls]
session: 1555449762
channel: 3:0
Channel:
address: 127.0.0.1:55238 [tls]
session: 1555449762
channel: 4:0

After migration:
# info spice
Server:
address: 127.0.0.1:61000 [tls]
migrated: false
auth: spice
compiled: 0.12.4
mouse-mode: server
Channel:
address: 127.0.0.1:56459 [tls]
session: 1555449762
channel: 1:0
Channel:
address: 127.0.0.1:56462 [tls]
session: 1555449762
channel: 4:0
Channel:
address: 127.0.0.1:56464 [tls]
session: 1555449762
channel: 6:0
Channel:
address: 127.0.0.1:56463 [tls]
session: 1555449762
channel: 5:0
Channel:
address: 127.0.0.1:56460 [tls]
session: 1555449762
channel: 3:0
Channel:
address: 127.0.0.1:56461 [tls]
session: 1555449762
channel: 2:0
 
My OS:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

My virt viewer version:
virt-viewer version 0.5.6


Just for information in my client computer thinking the problème could be a bug, I've have deleted and purged the virt-viewer package and all his dependencies to reinstall all again later but it doesn't work neither. It's like my computer would be broken for using virt-viewer.
Thanks for your interest in my problem Spirit.
 
Last edited:
I've set up virt-viewer_1.0 from sources:

apt-get install intltool
apt-get install libxml2-dev
apt-get install libgtk-3-dev
apt-get install libgtk-vnc-2.0-dev
apt-get install libspice-client-gtk-3.0-dev
wget https://fedorahosted.org/released/virt-viewer/virt-viewer-1.0.tar.gz
tar xvzf virt-viewer-1.0.tar.gz
cd virt-viewer-1.0
./configure --with-gtk=3.0
make
make install

I've configured my Firefox for opening virt-viewer files with "/usr/local/bin/remote-viewer"
Succesfully I opened a Spice session with the new version (1.0) but the sound didn't back ... :(
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!