Re: duplicate domain ids!?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/19/2012 05:00 PM, matt cowan wrote:
> Somehow I've ended up with duplicate domids.  domid=15 name=node14
> (names sanitized)
> 
> # virsh list --all

>  14    node13                         running
>  15    node14                         running
>  15    node14                         running
>  16    node16                         running
> 

What version of libvirt?  There is an inherent race in the API of all
libvirt versions prior to 0.9.13; if you are not using the latest
release, then this is probably evidence of the race (namely, a guest can
change state between running an inactive between the time that virsh
calls consecutive query APIs, which means virsh ends up with missing or
duplicate entries).

> Doesn't *seem* to be causing a problem (other than above
> virsh/virt-manager issues), but this shouldn't happen right?

Unless you have atomic listing abilities, stuff like this will happen.

> 
> Any potential for screwiness I should be concerned about?

Only if it is reliably repeatable instead of a one-time occurrence.

> libvirt-0.9.10-21.el6.x86_64

You don't have the atomic listing capabilities, so one-time occurrences
of the data race are to be expected.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux