RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1146870 - ipa-client-install fails with "KerbTransport instance has no attribute '__conn'" traceback
Summary: ipa-client-install fails with "KerbTransport instance has no attribute '__con...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 6.7
Assignee: Jan Cholasta
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-26 09:39 UTC by David Jaša
Modified: 2015-07-22 07:38 UTC (History)
6 users (show)

Fixed In Version: ipa-3.0.0-43.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Clone Of:
Environment:
Last Closed: 2015-07-22 07:38:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1462 0 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2015-07-21 14:14:52 UTC

Description David Jaša 2014-09-26 09:39:28 UTC
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 09:40:45 UTC
Created attachment 941503 [details]
ipa-client-install full debug log

Comment 3 Jan Cholasta 2014-10-02 09:50:08 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4603

Comment 4 Martin Kosek 2014-10-07 14:25:38 UTC
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 15:36:38 UTC
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 07:38:45 UTC
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.