certmaster/utils.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 31a4be83d7061f2f431ecad56153991113ecbc68
Author: S.Çağlar Onur <[email protected]>
Date:   Mon Aug 16 12:08:03 2010 -0400

    don't raise the exception if certmaster is down or not available

diff --git a/certmaster/utils.py b/certmaster/utils.py
index 6b79ce7..1bf931e 100644
--- a/certmaster/utils.py
+++ b/certmaster/utils.py
@@ -173,7 +173,7 @@ def create_minion_keys(hostname=None):
             log.debug("submitting CSR: %s  to certmaster %s" % (csr_file, 
master_uri))
             result, cert_string, ca_cert_string = 
submit_csr_to_master(csr_file, master_uri)
         except socket.gaierror, e:
-            raise codes.CMException, "Could not locate certmaster at %s" % 
master_uri
+            log.warning("Could not locate certmaster at %s" % master_uri)
 
         # logging here would be nice
         if not result:


_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to