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

Alex Xu xuhj at linux.vnet.ibm.com
Thu Aug 7 08:57:05 UTC 2014


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




More information about the OpenStack-dev mailing list