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

Thomas Treutner thomas at scripty.at
Wed Oct 7 08:25:11 UTC 2009


Hi,

I'm using Xen 3.2 (Debian Lenny) and libvirt 0.7.1.

When I use Domain.migrate() from libvirt-java 0.3.0, a following 
Connect.listDomains() gives wrong DomainIDs (they seem to be the ones before 
the migration) and therefore DomainLookupByID() fails because of a 
nonexistent ID. Restarting libvirtd and/or xend doesn't help. xm list etc. 
output is still correct, but anything that uses libvirt (like virt-top) is 
having troubles. The migration itself is working without glitches, the 
domains are up&running and responsive. But at this point, libvirt is 
completely mistaken about the running domains and their IDs.

There are some quite similar bug reports and mails here, but they are rather 
old. 

Shall I provide more debug output?


tia&kr,
thomas




More information about the libvir-list mailing list