<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container"><br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 2014年08月07日 17:13, Chen CH Ji
wrote:<br>
</div>
<blockquote
cite="mid:OF1AC5CA54.54D86937-ON48257D2D.0031E4CB-48257D2D.00330CB6@cn.ibm.com"
type="cite">
<p><font face="sans-serif" size="2">Just to clarify , I think
your case would be run nova-network ,then ^C or abnormally
shutdown it</font><br>
<font face="sans-serif" size="2">and it might be during the
period of holding a semaphore without releasing it, right?</font><br>
<br>
</p>
</blockquote>
yes, you are right. thanks for the clarify.<br>
<br>
<blockquote
cite="mid:OF1AC5CA54.54D86937-ON48257D2D.0031E4CB-48257D2D.00330CB6@cn.ibm.com"
type="cite">
<p> <font face="sans-serif" size="2">guess all component other
than nova have this problem ? so maybe remove this [nova]
can get more input ...</font><br>
</p>
</blockquote>
yes<br>
<blockquote
cite="mid:OF1AC5CA54.54D86937-ON48257D2D.0031E4CB-48257D2D.00330CB6@cn.ibm.com"
type="cite">
<p> <br>
<br>
<font face="sans-serif" size="2">Best Regards! <br>
<br>
Kevin (Chen) Ji 纪 晨<br>
<br>
Engineer, zVM Development, CSTL<br>
Notes: Chen CH Ji/China/IBM@IBMCN Internet: <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:jichenjc@cn.ibm.com">jichenjc@cn.ibm.com</a><br>
Phone: +86-10-82454158<br>
Address: 3/F Ring Building, ZhongGuanCun Software Park,
Haidian District, Beijing 100193, PRC </font><br>
<br>
<img src="cid:part2.06050606.01060307@linux.vnet.ibm.com"
alt="Inactive hide details for Alex Xu ---08/07/2014
04:54:09 PM---When I startup nova-network, it stuck at
trying get lock for ebta" border="0" height="16" width="16"><font
color="#424282" face="sans-serif" size="2">Alex Xu
---08/07/2014 04:54:09 PM---When I startup nova-network, it
stuck at trying get lock for ebtables.
@utils.synchronized('ebtables</font><br>
<br>
<font color="#5F5F5F" face="sans-serif" size="1">From: </font><font
face="sans-serif" size="1">Alex Xu <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:xuhj@linux.vnet.ibm.com"><xuhj@linux.vnet.ibm.com></a></font><br>
<font color="#5F5F5F" face="sans-serif" size="1">To: </font><font
face="sans-serif" size="1">OpenStack Development Mailing
List <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:openstack-dev@lists.openstack.org"><openstack-dev@lists.openstack.org></a>,
</font><br>
<font color="#5F5F5F" face="sans-serif" size="1">Date: </font><font
face="sans-serif" size="1">08/07/2014 04:54 PM</font><br>
<font color="#5F5F5F" face="sans-serif" size="1">Subject: </font><font
face="sans-serif" size="1">[openstack-dev] [nova]
nova-network stuck at get semaphores lock when startup</font><br>
</p>
<hr style="color:#8091A5; " align="left" noshade="noshade"
size="2" width="100%"><br>
<br>
<br>
<tt><font size="2">When I startup nova-network, it stuck at
trying get lock for ebtables.<br>
<br>
@utils.synchronized('ebtables', external=True)<br>
def ensure_ebtables_rules(rules, table='filter'):<br>
.....<br>
<br>
Checking the code found that invoke utils.synchronized
without parameter <br>
lock_path, the code will try to use<br>
posix semaphore.<br>
<br>
But posix semaphore won't release even the process crashed.
Should we <br>
fix it? I saw a lot of call for synchronized<br>
without lock_path.<br>
<br>
Thanks<br>
Alex<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
</font></tt><tt><font size="2"><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font
size="2"><br>
<br>
</font></tt><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<br>
</div>
<br>
</body>
</html>