[openstack-dev] [nova] nova-network stuck at get semaphores lock when startup

Alex Xu xuhj at linux.vnet.ibm.com
Thu Aug 7 09:50:09 UTC 2014


On 2014?08?07? 17:13, Chen CH Ji wrote:
>
> Just to clarify , I think your case would be run nova-network ,then ^C 
> or abnormally shutdown it
> and it might be during  the period of holding a semaphore without 
> releasing it, right?
>
yes, you are right. thanks for the clarify.

> guess all component other than nova have this problem ? so maybe 
> remove this [nova] can get more input ...
>
yes
>
>
>
> Best Regards!
>
> Kevin (Chen) Ji ? ?
>
> Engineer, zVM Development, CSTL
> Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
> Phone: +86-10-82454158
> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian 
> District, Beijing 100193, PRC
>
> 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 ebtaAlex Xu 
> ---08/07/2014 04:54:09 PM---When I startup nova-network, it stuck at 
> trying get lock for ebtables. @utils.synchronized('ebtables
>
> From: Alex Xu <xuhj at linux.vnet.ibm.com>
> To: OpenStack Development Mailing List 
> <openstack-dev at lists.openstack.org>,
> Date: 08/07/2014 04:54 PM
> Subject: [openstack-dev] [nova] nova-network stuck at get semaphores 
> lock when startup
>
> ------------------------------------------------------------------------
>
>
>
> When I startup nova-network, it stuck at trying get lock for ebtables.
>
> @utils.synchronized('ebtables', external=True)
> def ensure_ebtables_rules(rules, table='filter'):
>     .....
>
> Checking the code found that invoke utils.synchronized without parameter
> lock_path, the code will try to use
> posix semaphore.
>
> But posix semaphore won't release even the process crashed. Should we
> fix it? I saw a lot of call for synchronized
> without lock_path.
>
> Thanks
> Alex
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140807/400a8b5b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140807/400a8b5b/attachment.gif>


More information about the OpenStack-dev mailing list