Problems with live-migration

Shadow

New Member
Aug 27, 2013
8
0
1
Hey guys,

I have a strange problem when I try to make a live migration to another host.
The shared storage is a nfs server.

ERROR: migration aborted (duration 00:00:00): can't migrate VM which uses local devices
TASK ERROR: migration aborted

Here is my config:

args: -device AC97,addr=0x18
balloon: 1024
bootdisk: virtio0
cores: 4
cpu: core2duo
ide2: none,media=cdrom
memory: 3072
name: TestVM
net0: virtio=myMac ,bridge=vmbr0
ostype: win7
sockets: 1
usb0: spice
usb1: spice
usb2: spice
usb3: spice
usb4: spice
vga: qxl
virtio0: nfsserver01:100/vm-100-disk-1.qcow2,format=qcow2,size=80G

I don´t know why, if I remove

usb0: spice
usb1: spice
usb2: spice
usb3: spice
usb4: spice
args: -device AC97,addr=0x18

entries then I can migrate the VM to another host without problems.

Hope that you can help me.

Best regards

Shadow
 
It should be enough to remove these:
usb0: spice
usb1: spice
usb2: spice
usb3: spice
usb4: spice

usbx is always a local resource.
 
Thanks for the quick response.

I use USB-Redirection to redirect usb devices to the VM.
What happens when I remove
usb0: spice
usb1: spice
usb2: spice
usb3: spice
usb4: spice
?
Do I have the chance to connect usb devices to the vm as usual?
I connect the usb device to the client, Remote-Viewer redirects it automatically to the vm?

Best regards

Shadow
 
Hi mir,

maybe the questions was too simple.

I would be happy if you could answer me.

Thank you and best regards.

Shadow
 
I guess this is a bug, because it should be possible to migrate such VMs. But I am unsure if that works with current spice version.
 
Thanks for the quick response.

I saw a live migration with usb controller several months ago (Fedora 18, Virt-Manager).
This worked perfectly.

Is there any solution for it (maybe some switch --force or something?)

Best regards

Shadow
 
Thank you!

Can you explain how I can test it?

Maybe it is a very simple question, but I don´t know how to do...

Best regards

Shadow
 
I found a tutorial which explains the most steps.
I try to compile it.

One important question:

The output is a deb file.
When I install it can I install the updates normally?
Will the updatescript (apt-get update && apt-get upgrade) replace my manual install of the deb file (if there is a newer and better version)?

Thanks again and best regards

Shadow
 

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!