Re: Getting func to work

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

 



Yes, it is Centos 5.

I upgraded the pyOpenSSL and it didn't work, now I removed the /etc/pki/certmaster files and it worked! :)

Thank you very much.

2011/6/21 Jon Auman <jauman@xxxxxxxxxxxxx>
Is this Centos 5?

i ran into this problem a week or two ago and someone on this list pointed me in the right direction. There is a known problem with pyOpenSSL on CentOS. You need to upgrade to at least version .62

Bad:
pyOpenSSL.x86_64                           0.6-1.p24.7.2.2                    base

Good:
pyOpenSSL.x86_64                           0.6-2.el5

You find the rpm for your arch at http://rpm.pbone.net/

Then delete everything in /etc/pki/certmaster/ on your minion and try again.

-Jon

Jon Auman
Systems Administrator
Bandwidth.com
4001 Weston Parkway
Cary, NC 27513
919-434-2919
jauman@xxxxxxxxxxxxx

On Jun 21, 2011, at 2:43 PM, Paulo Paracatu wrote:

> Hi,
>
> I'm trying to use FUNC, but no success yet.
> Can please someone help me?
>
> When I try to run funcd on the minion, I get this:
>
> Exception occured: xmlrpclib.Fault
> Exception value: <Fault 1: "exceptions.AttributeError:'CertMaster' object has no attribute 'handlers'">
> Exception Info:
>   File "/usr/bin/funcd", line 23, in ?
>     server.main(sys.argv)
>    File "/usr/lib/python2.4/site-packages/func/minion/server.py", line 412, in main
>     requester.request_cert(hn)
>    File "/usr/lib/python2.4/site-packages/certmaster/requester.py", line 22, in request_cert
>     utils.create_minion_keys(hostname)
>    File "/usr/lib/python2.4/site-packages/certmaster/utils.py", line 174, in create_minion_keys
>     result, cert_string, ca_cert_string = submit_csr_to_master(csr_file, master_uri)
>    File "/usr/lib/python2.4/site-packages/certmaster/utils.py", line 246, in submit_csr_to_master
>     return s.wait_for_cert(csr)
>    File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>    File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>    File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>    File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
>     return u.close()
>    File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
>     raise Fault(**self._stack[0])
>
> _______________________________________________
> Func-list mailing list
> Func-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/func-list


_______________________________________________
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