<div dir="ltr">Hi,<div><br></div><div>I've just applied a patch to fix that. It will be available in OpenNebula 4.6.</div><div><a href="http://dev.opennebula.org/issues/2573">http://dev.opennebula.org/issues/2573</a><br>

</div><div><br></div><div>cheers,<br>Jaime</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 3:53 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I think you are right. I've created a new ticket to fix this for OpenNebula 4.6:</div>

<div><a href="http://dev.opennebula.org/issues/2573" target="_blank">http://dev.opennebula.org/issues/2573</a><br>
</div><div><br></div><div>cheers,<br>Jaime</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 5:30 PM, cmcc.dylan <span dir="ltr"><<a href="mailto:dx10years@126.com" target="_blank">dx10years@126.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><br>Hi.<div>  I don't use >= 4.0. But I think the code has a little problem, that is, we should add a lock for "get_interfaces" not for "create_bridge".<div>


<div><br><br><br><div></div><div></div><br>At 2013-12-12 17:05:03,"Jaime Melis" <<a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a>> wrote:<br> <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">


<div dir="ltr">Hi,<div><br></div><div>not sure I follow, but given that the rules are idempotent if the bridge doesn't exist it will be created, and if it does, it won't.</div><div><br></div><div>Have you tried this with ONE >= 4.0 and still fails?</div>




<div><br></div><div>regards,<br>Jaime</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 4:32 AM, cmcc.dylan <span dir="ltr"><<a href="mailto:dx10years@126.com" target="_blank">dx10years@126.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><div>Hi,Jainme.</div>
<div> </div>
<div>  I think curruent codes don't have solved the bug complelely. The key problems the the following snippets are executed  parallel.<br>class OpenNebulaHM < OpenNebulaNetwork<br>    XPATH_FILTER = "TEMPLATE/NIC[VLAN='YES']"</div>





<div>    def initialize(vm, deploy_id = nil, hypervisor = nil)<br>        super(vm,XPATH_FILTER,deploy_id,hypervisor)<br>        @bridges = get_interfaces<br>    end</div>
<div> </div>
<div>so bridges variable maybe have the same name bridge. because bridge is a ruby instance variable,not a ruby class variable.<br><br><br></div><div><div>
<div></div>
<div></div>
<div><br></div>At 2013-12-12 01:53:18,"Jaime Melis" <<a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a>> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex">
<div dir="ltr">Hi,
<div><br></div>
<div>yes, this is a known bug which is already solved in OpenNebula >= 4.0 by implementing locking mechanisms.</div>
<div><a href="http://dev.opennebula.org/issues/1722" target="_blank">http://dev.opennebula.org/issues/1722</a><br></div>
<div><br></div>
<div>cheers,<br>Jaime</div>
<div><br></div>
<div><br></div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Dec 11, 2013 at 9:46 AM, cmcc.dylan <span dir="ltr"><<a href="mailto:dx10years@126.com" target="_blank">dx10years@126.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div style="LINE-HEIGHT:1.7;FONT-FAMILY:arial;FONT-SIZE:14px">
<div>Hi everyone!</div>
<div> </div>
<div>   I find a problem when we create two or more instances on one host at the same time,we meet the error "device onebrxxxx alreay exists can't create bridge with the same name". </div>
<div>   The reason is that instances all try to create their bridge,although they check whether or not their birdge is existed. because it's at the same time, they all get a result that their bridge is not existed, and then they create it.</div>





<div>   But when they really create, the same bridge has already been created by other instances.</div>
<div> </div>
<div>    Has the problem been fixed now? I use opennebula-3.8.1.</div>
<div> </div>
<div>   Look forward your answers!</div><span><font color="#888888">
<div> </div>
<div>   dylan.</div></font></span></div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org" target="_blank">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><br></blockquote></div><br></div><br clear="all">
<div><br></div>-- <br>
<div dir="ltr">Jaime Melis<br>C12G Labs - Flexible Enterprise Cloud Made Simple<br><a href="http://www.c12g.com/" target="_blank">http://www.c12g.com</a> | <a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a><br>





<div><br></div>
<div>--</div>
<div><br></div>
<div>Confidentiality Warning: The information contained in this e-mail and</div>
<div>any accompanying documents, unless otherwise expressly indicated, is</div>
<div>confidential and privileged, and is intended solely for the person</div>
<div>and/or entity to whom it is addressed (i.e. those identified in the</div>
<div>"To" and "cc" box). They are the property of C12G Labs S.L..</div>
<div>Unauthorized distribution, review, use, disclosure, or copying of this</div>
<div>communication, or any part thereof, is strictly prohibited and may be</div>
<div>unlawful. If you have received this e-mail in error, please notify us</div>
<div>immediately by e-mail at <a href="mailto:abuse@c12g.com" target="_blank">abuse@c12g.com</a> and delete the e-mail and</div>
<div>attachments and any copy from your system. C12G's thanks you for your</div>
<div>cooperation.</div></div></blockquote></div></div></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jaime Melis<br>C12G Labs - Flexible Enterprise Cloud Made Simple<br>




<a href="http://www.c12g.com" target="_blank">http://www.c12g.com</a> | <a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a><br><div><br></div><div>--</div><div><br></div><div>Confidentiality Warning: The information contained in this e-mail and</div>




<div>any accompanying documents, unless otherwise expressly indicated, is</div><div>confidential and privileged, and is intended solely for the person</div><div>and/or entity to whom it is addressed (i.e. those identified in the</div>




<div>"To" and "cc" box). They are the property of C12G Labs S.L..</div><div>Unauthorized distribution, review, use, disclosure, or copying of this</div><div>communication, or any part thereof, is strictly prohibited and may be</div>




<div>unlawful. If you have received this e-mail in error, please notify us</div><div>immediately by e-mail at <a href="mailto:abuse@c12g.com" target="_blank">abuse@c12g.com</a> and delete the e-mail and</div><div>attachments and any copy from your system. C12G's thanks you for your</div>




<div>cooperation.</div></div>
</div>
</blockquote></div></div></div></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jaime Melis<br>C12G Labs - Flexible Enterprise Cloud Made Simple<br>


<a href="http://www.c12g.com" target="_blank">http://www.c12g.com</a> | <a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a><br><div><br></div><div>--</div><div><br></div><div>Confidentiality Warning: The information contained in this e-mail and</div>


<div>any accompanying documents, unless otherwise expressly indicated, is</div><div>confidential and privileged, and is intended solely for the person</div><div>and/or entity to whom it is addressed (i.e. those identified in the</div>


<div>"To" and "cc" box). They are the property of C12G Labs S.L..</div><div>Unauthorized distribution, review, use, disclosure, or copying of this</div><div>communication, or any part thereof, is strictly prohibited and may be</div>


<div>unlawful. If you have received this e-mail in error, please notify us</div><div>immediately by e-mail at <a href="mailto:abuse@c12g.com" target="_blank">abuse@c12g.com</a> and delete the e-mail and</div><div>attachments and any copy from your system. C12G's thanks you for your</div>


<div>cooperation.</div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jaime Melis<br>C12G Labs - Flexible Enterprise Cloud Made Simple<br><a href="http://www.c12g.com" target="_blank">http://www.c12g.com</a> | <a href="mailto:jmelis@c12g.com" target="_blank">jmelis@c12g.com</a><br>

<div><br></div><div>--</div><div><br></div><div>Confidentiality Warning: The information contained in this e-mail and</div><div>any accompanying documents, unless otherwise expressly indicated, is</div><div>confidential and privileged, and is intended solely for the person</div>

<div>and/or entity to whom it is addressed (i.e. those identified in the</div><div>"To" and "cc" box). They are the property of C12G Labs S.L..</div><div>Unauthorized distribution, review, use, disclosure, or copying of this</div>

<div>communication, or any part thereof, is strictly prohibited and may be</div><div>unlawful. If you have received this e-mail in error, please notify us</div><div>immediately by e-mail at <a href="mailto:abuse@c12g.com" target="_blank">abuse@c12g.com</a> and delete the e-mail and</div>

<div>attachments and any copy from your system. C12G's thanks you for your</div><div>cooperation.</div></div>
</div>