bug 921931: fix Quantum Manager VM launch race condition

Change-Id: I1f3a0f001477caa5f595c93c49f6c9e03a50149a
This commit is contained in:
Dan Wendlandt 2012-01-25 21:36:22 -08:00
parent ca22fc9d31
commit 6142230ccf

View File

@ -364,6 +364,7 @@ class QuantumManager(manager.FloatingIP, manager.FlatManager):
instance['uuid'],
instance_type_id, host)
@utils.synchronized('quantum-enable-dhcp')
def enable_dhcp(self, context, quantum_net_id, network_ref, vif_rec,
project_id):
LOG.info("Using DHCP for network: %s" % network_ref['label'])