<span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title="">thank you very much for your reply<br><br></span><span style="background-color: rgb(255, 255, 255);" title="">As you said libvirt see only machines that set. </span><span style="background-color: rgb(255, 255, 255);" title="">in fact I would like to know what part we modify to solve this problem.<br>
</span><span style="" title="">I also want to know if the driver of opennebula </span></span><span id="result_box" class="long_text"><span style="" title="">supports </span></span><span id="result_box" class="long_text"><span style="" title="">migration or not<br>
<br></span><span title="">thank you</span></span><br><br><div class="gmail_quote">2010/6/2 Matthias Bolte <span dir="ltr"><<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2010/6/1 marwen marwen <<a href="mailto:marwen.ensi@gmail.com">marwen.ensi@gmail.com</a>>:<br>

<div><div></div><div class="h5">> hello<br>
> I'm currently using libvirt and opennebula. I have installed the libvirt<br>
> with the driver of opennebule "ONE" and I test the installation.<br>
><br>
> /********************************************************/<br>
> oneadmin@node016 ~]$ virsh -c one:///<br>
> Welcome to virsh, the virtualization interactive terminal.<br>
><br>
> Type:  'help' for help with commands<br>
>        'quit' to quit<br>
><br>
> virsh # list<br>
>  Id Name                 State<br>
> ----------------------------------<br>
><br>
> virsh #<br>
> /********************************************************/<br>
><br>
><br>
> but I can not see the list of machines that run in the cluster node (Xen and<br>
> KVM)<br>
> I want to know if this is a problem of configuration files ( libvirtd.conf<br>
> and oned.conf).<br>
> can you help me to overcome this problem<br>
><br>
> thank you<br>
><br>
<br>
</div></div>The OpenNebula driver is currently not really maintained by someone.<br>
<br>
I took a look at the OpenNebula driver code and I understand now why<br>
it doesn't work as expected.<br>
<br>
The driver keeps and internal list of known domains, but this list is<br>
never initialized with the already existing domains, that's why it<br>
doesn't list your already existing domains. The list is only altered<br>
by libvirt's define and undefine functions.<br>
<br>
I think that the driver should not cache this list, but it should<br>
request the list of existing domains from the OpenNebula daemon each<br>
time it needs it. This way it'll always be in sync with external<br>
changes.<br>
<br>
Once the internal list is replaced by a lookup function the rest of<br>
the driver should just work.<br>
<br>
I don't have a OpenNebula setup at hand, so patches welcome :)<br>
<font color="#888888"><br>
Matthias<br>
</font></blockquote></div><br>