From 50edccfad29d3c602eba628fc80e46a0a67de090 Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Tue, 25 Feb 2014 11:37:06 -0800 Subject: [PATCH] BigSwitch: Stop using external locks Changes BigSwitch server manager REST lock to an in-memory lock since the plugin isn't expected to run in independent processes. Closes-Bug: #1284881 Change-Id: I2fdd5ba79a0c4b94b2b410db54a63f7c0ca47525 --- neutron/plugins/bigswitch/servermanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/bigswitch/servermanager.py b/neutron/plugins/bigswitch/servermanager.py index df2caef0e..7534be17f 100644 --- a/neutron/plugins/bigswitch/servermanager.py +++ b/neutron/plugins/bigswitch/servermanager.py @@ -227,7 +227,7 @@ class ServerPool(object): """ return resp[0] in SUCCESS_CODES - @utils.synchronized('bsn-rest-call', external=True) + @utils.synchronized('bsn-rest-call') def rest_call(self, action, resource, data, headers, ignore_codes): good_first = sorted(self.servers, key=lambda x: x.failed) for active_server in good_first: -- 2.45.2