Red Hat Bugzilla – Bug 1146870
ipa-client-install fails with "KerbTransport instance has no attribute '__conn'" traceback
Last modified: 2015-07-22 03:38:45 EDT
Description of problem: When doing ipa-client-install on RHEL 6.5 host trying to join RHEL 6.5 IPA, I'm getting the traceback below. I'm joining the domain with OTP with this invocation: ipa-client-install --domain=<domain> -w 123 -N --no-ssh --noac --ca-cert-file /etc/pki/ca-trust/source/anchors/spice.brq.redhat.com.pem --no-krb5-offline-passwords --debug Version-Release number of selected component (if applicable): ipa-client-3.0.0-37.el6.x86_64 ipa-server-3.0.0-37.el6.x86_64 How reproducible: always for me Steps to Reproduce: 1. add a host in web ui 2. set up otp password 3. try to join the domain with that otp password Actual results: getting the traceback below Expected results: * host joins successfully, OR * ipa-client-install recovers from error and reverts its change Additional info: Traceback (most recent call last): File "/usr/sbin/ipa-client-install", line 2377, in <module> sys.exit(main()) File "/usr/sbin/ipa-client-install", line 2363, in main rval = install(options, env, fstore, statestore) File "/usr/sbin/ipa-client-install", line 2167, in install remote_env = api.Command['env'](server=True)['result'] File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 435, in __call__ ret = self.run(*args, **options) File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 1073, in run return self.forward(*args, **options) File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 769, in forward return self.Backend.xmlclient.forward(self.name, *args, **kw) File "/usr/lib/python2.6/site-packages/ipalib/rpc.py", line 728, in forward response = command(*xml_wrap(params)) File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "/usr/lib/python2.6/site-packages/ipalib/rpc.py", line 475, in request self.close() File "/usr/lib/python2.6/site-packages/ipalib/rpc.py", line 442, in close self._conn.close() AttributeError: KerbTransport instance has no attribute '_conn'
Created attachment 941503 [details] ipa-client-install full debug log
Upstream ticket: https://fedorahosted.org/freeipa/ticket/4603
Jan found out this is a problem in downstream patch, 1011-xmlrpc_response.patch. We should fix in next release it hides the real error behind and makes investigation difficult.
Verified on ipa-client-3.0.0-45.el6.x86_64: Ran regression tests on client test suite ,test passed with no unexpected failure
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1462.html