[PATCH] [Certmaster] Try 10 times before raising CMException

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Attached patch makes create_minion_keys function to try 10 times before raising a CMException exception.

2010-08-13 23:50:46,964 - INFO - Exception occured: <class 'certmaster.codes.CMException'>
2010-08-13 23:50:46,965 - INFO - Exception value: Could not locate certmaster at http://www.planet-lab.org:51235/
2010-08-13 23:50:46,965 - INFO - Exception Info:
  File "/usr/bin/funcd", line 23, in <module>
    server.main(sys.argv)
   File "/usr/lib/python2.5/site-packages/func/minion/server.py", line 378, in main
    requester.request_cert(hn)
   File "/usr/lib/python2.5/site-packages/certmaster/requester.py", line 22, in request_cert
    utils.create_minion_keys(hostname)
   File "/usr/lib/python2.5/site-packages/certmaster/utils.py", line 178, in create_minion_keys
    raise codes.CMException, "Could not locate certmaster at %s" % master_uri

Attachment: certmaster.patch
Description: Binary data


--
S.Çağlar Onur <caglar@xxxxxxxxxxxxxxxx>

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux