catch all
[nodemanager.git] / plugins / sfagids.py
index 7c16a54..88e2341 100644 (file)
@@ -27,14 +27,15 @@ except:
     sfa = None
 
 def start():
-    #FIXME: disabled by caglar 
-    return
     logger.log("sfagid: plugin starting up ...")
     if not sfa:
         return
-    keyfile, certfile = get_keypair(None)
-    api = ComponentAPI(key_file=keyfile, cert_file=certfile)
-    api.get_node_key()
+    try:
+        keyfile, certfile = get_keypair(None)
+        api = ComponentAPI(key_file=keyfile, cert_file=certfile)
+        api.get_node_key()
+    except:
+        return
 
 def GetSlivers(data, config=None, plc=None):
     if not sfa: