From 6142230ccf2555650dbb902a5c342a342e9b2582 Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Wed, 25 Jan 2012 21:36:22 -0800 Subject: [PATCH] bug 921931: fix Quantum Manager VM launch race condition Change-Id: I1f3a0f001477caa5f595c93c49f6c9e03a50149a --- nova/network/quantum/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/network/quantum/manager.py b/nova/network/quantum/manager.py index b43365282b31..4fc6f379e7ba 100644 --- a/nova/network/quantum/manager.py +++ b/nova/network/quantum/manager.py @@ -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'])