<div dir="ltr">Hi Jorge,<div><br></div><div>this is due to a bug in OpenNebula that has been fixed in 4.8.</div><div><br></div><div>You have apply this change in /var/lib/one/remotes/vnm/OpenNebulaNetwork.rb:</div><div><br>

</div><div><div>-  :xm       => "sudo xm",</div><div>+  :xm       => "sudo xl",</div><div><br></div><div>And remember to update the hosts with:</div><div>onehost sync --force</div><div><br></div>

<div>cheers,<br>Jaime</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 2:51 PM, Jorge Calás Lozano <span dir="ltr"><<a href="mailto:calas@speedyrails.com" target="_blank">calas@speedyrails.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
We are testing opennebula 4.6 with xen4 drivers on debian 7 servers, it<br>
looks really great. We created our own storage drivers to match our<br>
current setup, we did it using ruby and they are working great so far.<br>
<br>
We are now testing the network drivers as well as adding/removing<br>
nics/ips to a running vm.<br>
<br>
In our current setup we add ip aliases to the vm's eth0 nic and add some<br>
ebtables rules on the hypervisor host. How is this supposed to be done<br>
in opennebula?<br>
<br>
We tried the "onevm nic-attach" command and it hot-plugged the nic<br>
correctly, but it is lost from the vm once it is rebooted.<br>
<br>
The vm template keeps the nic, but xen is not aware of it, the<br>
deployment file is not changed.<br>
<br>
If we re-deploy (undeploy & resume)  the deployment file is correctly<br>
updated and xen is aware of the interface, but it needs a downtime we<br>
can not always afford.<br>
<br>
Is this a bug? is there something I'm missing? Does anyone have a<br>
similar issue/solution?<br>
<br>
Another issue we have found is with the  ebtables VNM driver, it just<br>
won't add any rule. Firewall rules are correctly implemented but not the<br>
ebtables ones.<br>
<br>
On the logs we found the following message:<br>
<br>
[VMM][D]: Message received: LOG E 10 A different toolstack (xl) have been selected!<br>
<br>
<br>
We found that NicXen class on OpenNebulaNic.rb doesn't use the new xl<br>
command but xm from xen3, we changed the code to use xl command but we<br>
still get the same message and no rules are added.<br>
<br>
I guess there other piece of code still using xm but I couldn't find it.<br>
<br>
Do you have any advice on where to look?<br>
<br>
Thanks in advance,<br>
<br>
<br>
Jorge<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>

</div>