> I seems that the 'context.glm' attribute is still referenced in > > lib/rpc/node.py:1032: lock_monitor_cb = context.glm.AddToLockMonitor > > However, that piece of code is probably currently unused. Is that right?
Definitely the monitor is unused. So I suggest the following interdiff. commit 97418fac04c1b3f5a8d12275b4b7cef3405839a6 Author: Klaus Aehlig <[email protected]> Date: Fri May 30 14:01:19 2014 +0200 INTERDIFF [PATCH stable-2.12] Remove Ganeti Lock Manager and Monitor diff --git a/lib/rpc/node.py b/lib/rpc/node.py index 99f85d6..1a0b72d 100644 --- a/lib/rpc/node.py +++ b/lib/rpc/node.py @@ -1023,15 +1023,12 @@ class ConfigRunner(_RpcClientBase, _generated_rpc.RpcClientConfig): """RPC wrappers for L{config}. """ - def __init__(self, context, address_list, _req_process_fn=None, + def __init__(self, _context, address_list, _req_process_fn=None, _getents=None): """Initializes this class. """ - if context: - lock_monitor_cb = context.glm.AddToLockMonitor - else: - lock_monitor_cb = None + lock_monitor_cb = None if address_list is None: resolver = compat.partial(_SsconfResolver, True) -- Klaus Aehlig Google Germany GmbH, Dienerstr. 12, 80331 Muenchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores
