[Freeipa-users] ipa cli AttributeError: KerbTransport instance has no attribute '_conn'

Rob Crittenden rcritten at redhat.com
Thu Nov 7 22:45:16 UTC 2013


Jonathan Underwood wrote:
> Hi,
>
> I have just done a fresh server install of ipa on a Scientific Linux
> 6.4 machine, and I am finding the command line utilities are failing
> with:
>
> # ipa ping
> ipa: ERROR: non-public: AttributeError: KerbTransport instance has no
> attribute '_conn'
> Traceback (most recent call last):
>    File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 129,
> in execute
>      result = self.Command[_name](*args, **options)
>    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 748, 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'
> ipa: ERROR: an internal error has occurred
>
>
> Other ipa commands fail the same way.
>
> I have no problems searching the LDAP directory (ldapsearch -Y GSSAPI
> works fine), "getent passwd admin" returns sensible information. So, I
> am a bitstumped as to how to debug this further. Any suggestions?

This is it trying to close a connection that was never made.

Can you run ipa -vv ping?

rob




More information about the Freeipa-users mailing list