openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06667
Re: Nova is considering Xen Domain-0 as instance
On Thu, Jan 12, 2012 at 07:36:59PM -0200, Rogério Vinhal Nunes wrote:
> I really need some help in getting this to work. This seems pretty simple,
> just tell nova-compute to ignore any instance named Domain-0 (actually it
> could ignore any instance not named 'instance-XXXXXXXX'). As there is a
> libvirt type to connect to xen, it is in openstack interest to fix this. As
> I did make it work with a flawed old libvirt in Ubuntu 10.04, this seems
> close to working.
To be generally applicable to any libvirt driver, you should check for
domain ID == 0. Libvirt reserves the domain ID 0, to refer to the VM
representing the host OS, if any. This is why all LXC/KVM guests start
from number 1 instead.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
Follow ups
References