Re: Problems starting funcd

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

 



I'm running RHEL 5.5 on both my overlord and minion.  I'm having trouble
getting funcd to start on the minion.  On the advice of a friend, I
updated my version of pyOpenSSL, but that doesn't seem to have made a
difference.  Has anyone run into this problem?  Does anyone have a fix?

Overlord:
[root@puppet01 ~]# rpm -qa func certmaster pyOpenSSL
pyOpenSSL-0.6-2.el5
certmaster-0.28-1.el5
func-0.28-1.el5

Minion:
[root@jboss01 func]# rpm -qa func certmaster pyOpenSSL
pyOpenSSL-0.6-2.el5
func-0.28-1.el5
certmaster-0.28-1.el5

Stack trace:
2011-07-08 10:31:46,991 - INFO - Exception occured: xmlrpclib.Fault
2011-07-08 10:31:46,991 - INFO - Exception value:<Fault 1:
"exceptions.AttributeError:'CertMaster' object has no attribute 'handlers'">
2011-07-08 10:31:46,991 - INFO - 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])


okay - Go through and clean out any old copies of anything
in /etc/pki/certmaster

and make sure there are no submitted certs on the certmaster left around
either (in /var/lib/certmaster/) and try it again.

-sv

That was it. I cleaned out /etc/pki/certmaster on *both* the minion and the overlord and everything started up successfully.

Thanks for the help.
--------------
Regards,
Alex

--
Senior Software Engineer
Red Hat
919.754.4445

_______________________________________________
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