Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1146870 - ipa-client-install fails with "KerbTransport instance has no attribute '__conn'" traceback
ipa-client-install fails with "KerbTransport instance has no attribute '__con...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.5
Unspecified Unspecified
medium Severity medium
: rc
: 6.7
Assigned To: Jan Cholasta
Namita Soman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-26 05:39 EDT by David Jaša
Modified: 2015-07-22 03:38 EDT (History)
6 users (show)

See Also:
Fixed In Version: ipa-3.0.0-43.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 03:38:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1462 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2015-07-21 10:14:52 EDT

  None (edit)
Description David Jaša 2014-09-26 05:39:28 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'
Comment 1 David Jaša 2014-09-26 05:40:45 EDT
Created attachment 941503 [details]
ipa-client-install full debug log
Comment 3 Jan Cholasta 2014-10-02 05:50:08 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4603
Comment 4 Martin Kosek 2014-10-07 10:25:38 EDT
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.
Comment 13 Xiyang Dong 2015-04-06 11:36:38 EDT
Verified on ipa-client-3.0.0-45.el6.x86_64:
Ran regression tests on client test suite ,test passed with no unexpected failure
Comment 15 errata-xmlrpc 2015-07-22 03:38:45 EDT
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

Note You need to log in before you can comment on or make changes to this bug.