[libvirt] Xen: Domain.migrate() causes invalid listDomains() output

Thomas Treutner thomas at scripty.at
Wed Oct 7 09:22:52 UTC 2009


On Wednesday 07 October 2009 10:25:11 Thomas Treutner wrote:
> Shall I provide more debug output?

Here the debug output of libvirtd:

http://tt.scripty.at/tmp/node01.txt.gz
http://tt.scripty.at/tmp/node02.txt.gz

At start, domain wp01 is @ node01, and 
wp02 @ node02. Then their placement is exchanged. 


After migration:

node01:~# xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   256     2     r-----     37.9
wp02                                         2   512     2     -b----      0.9

node02:~#  xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   192     2     r-----     52.4
wp01                                         3   512     2     -b----      1.0


virt-top etc. don't see wp01 at node02 anymore. libvirt obviously returns ID 1 
for it, which can't be resolved. As there is no alternative to 
int[] listDomains() (f.e., return UUIDs), I'm stuck here.

NB: Doing migration with xm migrate works fine, libvirt isn't confused by 
that.


-t-




More information about the libvir-list mailing list