← Back to team overview

freeipa team mailing list archive

[Bug 1282818] Re: 14.04 freeipa ipa-client-install fails

 

Hello,

I've run into this issue too, on Ubuntu 14.04. I managed to figure out
that this is caused by a different version of the python-kerberos
package. The authGSSClientInit method signature has changed.

I checked out the "release-3-3-4" tag in git, and made the following
change to fix it:

    diff --git a/ipalib/rpc.py b/ipalib/rpc.py
    index 81e7aa3..ce5f2a0 100644
    --- a/ipalib/rpc.py
    +++ b/ipalib/rpc.py
    @@ -380,7 +380,7 @@ class KerbTransport(SSLTransport):
             service = "HTTP@" + host.split(':')[0]
     
             try:
    -            (rc, vc) = kerberos.authGSSClientInit(service, self.flags)
    +            (rc, vc) = kerberos.authGSSClientInit(service, gssflags=self.flags)
             except kerberos.GSSError, e:
                 self._handle_exception(e)
     

I'm still getting the following error after this fix, and will post
another comment if I manage to fix that one too.

    Traceback (most recent call last):
      File "/usr/sbin/ipa-client-install", line 2605, in <module>
        sys.exit(main())
      File "/usr/sbin/ipa-client-install", line 2586, in main
        rval = install(options, env, fstore, statestore)
      File "/usr/sbin/ipa-client-install", line 2463, in install
        auth_config.execute()
      File "/usr/lib/python2.7/dist-packages/ipapython/platform/debian/auth.py", line 41, in execute
        ipautil.run(["/usr/sbin/pam-auth-update"]+args,env)
    NameError: global name 'ipautil' is not defined

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/1282818

Title:
  14.04 freeipa ipa-client-install fails

Status in “freeipa” package in Ubuntu:
  Triaged

Bug description:
  Running ipa-client-install --mkhomedir --enable-dns-updates -d
  --force-join ran as previous install had partially failed on install
  and rollback. Had to manually delete some files to get installer to
  run again, --uninstall option did not work.

  -----------------------------------------------------------------------------------

  This sections seems to be the main point of failure:

  failed to find session_cookie in persistent storage for principal 'host/1404t430.domain.name@xxxxxxxxxx'
  trying https://ipa2.domain.name/ipa/xml
  Connection to https://ipa2.domain.name/ipa/xml failed with argument 2 must be string or None, not int
  trying https://ipa1.domain.name/ipa/xml
  Connection to https://ipa1.domain.name/ipa/xml failed with argument 2 must be string or None, not int
  Cannot connect to the server due to generic error: cannot connect to 'Gettext('any of the configured servers', domain='ipa', localedir=None)': https://ipa2.domain.name/ipa/xml, https://ipa1.domain.name/ipa/xml
  Installation failed. Rolling back changes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1282818/+subscriptions


References