[virt-tools-list] Virsh migrate without sharing folders

Алексей Важнов vazhnov at yandex.ru
Fri Jan 21 18:03:33 UTC 2011


On 19.01.2011 02:53, Justin Clift wrote:
> On 14/01/2011, at 3:53 PM, Важнов Алексей wrote:
>> I try to migrate without shared folders with virsh command:
>> migrate testmigrate --desturi qemu+ssh://lenin@server01.office/system
>> --copy-storage-all
>>
>> and then I get error message:
>> error: operation failed: migration to 'tcp:server01.office:49179'
>> failed: migration failed
>>
>> tcpdump does't show any packet to port 49179. At the same time I have
>> that errors on server01:
>>
>> Jan 14 09:32:47 server01 libvirtd: 09:32:47.781: warning :
>> qemudParsePCIDeviceStrs:1422 : Unexpected exit status '1', qemu probably
>> failed
>> Jan 14 09:32:47 server01 kernel: [1263688.538475] device vnet2 entered
>> promiscuous mode
>> Jan 14 09:32:47 server01 kernel: [1263688.539176] virbr0: topology
>> change detected, propagating
>> Jan 14 09:32:47 server01 kernel: [1263688.539179] virbr0: port 1(vnet2)
>> entering forwarding state
>> Jan 14 09:32:48 server01 kernel: [1263688.997625] virbr0: port 1(vnet2)
>> entering disabled state
>> Jan 14 09:32:48 server01 kernel: [1263689.036808] device vnet2 left
>> promiscuous mode
>> Jan 14 09:32:48 server01 kernel: [1263689.036811] virbr0: port 1(vnet2)
>> entering disabled state
>>
>> Does anyone have a working example of migration without sharing folders?
>
> Doesn't look like it. :(
>
> The code for copying storage around is a fairly new addition and doesn't seem to gotten much testing yet.  It looks like you're hitting bugs of some sort, which is honestly a pain as this is something I personally wanted to test out soon too. :/
>
> Don't suppose you've managed to get it to work in the last few days since you emailed?
>
> Regards and best wishes,
>
> Justin Clift
>

It was my mistake, hostname does not match with uri (cname in dns):

hostname virtualhost01
cname: vh01 -> virtualhost01

migrate testmigrate --desturi qemu+ssh://lenin@vh01.office/system 
--copy-storage-all

error: operation failed: migration to 'tcp:virtualhost01.office:49179' 
failed: migration failed

After changing hostname to vh01, migration is worked.

-- 
С уважением,
Алексей Важнов
jabber: vazhnov at jabber.ru
+7 922 716 55 26




More information about the virt-tools-list mailing list