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

Thomas Treutner thomas at scripty.at
Wed Oct 7 09:20:11 UTC 2009


And some more interesting behaviour:

When I do 

node01:~# xm migrate -l wp02 node02

after libvirt has lost track of wp01, it reappears again at node02!

node02:~# xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   192     2     r-----     74.1
wp01                                         3   512     2     -b----      1.8
wp02                                         4   512     2     -b----      0.0

But now, wp02 is not seen by libvirt. And I can push it further:

node02:~# xm create wp03.cfg
	Using config file "/etc/xen/wp03.cfg".
	Started domain wp03
node02:~# xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   192     2     r-----     80.5
wp01                                         3   512     2     -b----      2.2
wp02                                         4   512     2     -b----      0.4
wp03                                         5   512     2     -b----      5.2


Now guess, wp02 reappears, but wp03 is missing. It seems to me that the domain 
with the highest ID is missing. 

node02:~# xm create wp04.cfg
Using config file "/etc/xen/wp04.cfg".
Error: I need 524288 KiB, but dom0_min_mem is 262144 and shrinking to 262144 
KiB would leave only 200712 KiB free.
node02:~#     

Now, wp03 shortly pops up, but is then lost again.


# xm shutdown wp03
Now wp02 is lost again!

# xm shutdown wp02
and now, wp01.





More information about the libvir-list mailing list